My bad. I did that and it allowed me to move on. Thanks Ted.
-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Ted Koch
Sent: Friday, September 21, 2012 2:34 PM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] E9: VB to C# PartForm.Session.UserID
Try to add this using statement...
using Epicor.Mfg.Core;
________________________________
From: Dan Godfrey <dgodfrey@...>
To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
Sent: Friday, September 21, 2012 4:09 PM
Subject: RE: [Vantage] E9: VB to C# PartForm.Session.UserID
Problem: When I check in the Custom Assembly reference Manager->Native Assemblies, I find that it is already included. But
string UserID =Â ((Session)Form.Session).UserID;
Does not work. Does anyone have any ideas? Here is the error:
Error: CS0246 - line 234 (2438) - The type or namespace name 'Session' could not be found (are you missing a using directive or an assembly reference?)
Error: CS0117 - line 234 (2438) - 'System.Windows.Forms.Form' does not contain a definition for 'Session'
-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Jose Gomez
Sent: Friday, September 21, 2012 12:35 PM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] E9: VB to C# PartForm.Session.UserID
same thing but bring in Epicor.Mfg.Core.Session.dll first then do
String userId = ((Session)Form.Session).UserID;
*Jose C Gomez*
*Software Engineer*
*
*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez>Â <http://www.facebook.com/josegomez>
 <http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
 <http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
 <http://www.usdoingstuff.com>
*Quis custodiet ipsos custodes?*
-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Ted Koch
Sent: Friday, September 21, 2012 2:34 PM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] E9: VB to C# PartForm.Session.UserID
Try to add this using statement...
using Epicor.Mfg.Core;
________________________________
From: Dan Godfrey <dgodfrey@...>
To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
Sent: Friday, September 21, 2012 4:09 PM
Subject: RE: [Vantage] E9: VB to C# PartForm.Session.UserID
Problem: When I check in the Custom Assembly reference Manager->Native Assemblies, I find that it is already included. But
string UserID =Â ((Session)Form.Session).UserID;
Does not work. Does anyone have any ideas? Here is the error:
Error: CS0246 - line 234 (2438) - The type or namespace name 'Session' could not be found (are you missing a using directive or an assembly reference?)
Error: CS0117 - line 234 (2438) - 'System.Windows.Forms.Form' does not contain a definition for 'Session'
-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Jose Gomez
Sent: Friday, September 21, 2012 12:35 PM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] E9: VB to C# PartForm.Session.UserID
same thing but bring in Epicor.Mfg.Core.Session.dll first then do
String userId = ((Session)Form.Session).UserID;
*Jose C Gomez*
*Software Engineer*
*
*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez>Â <http://www.facebook.com/josegomez>
 <http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
 <http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
 <http://www.usdoingstuff.com>
*Quis custodiet ipsos custodes?*
On Fri, Sep 21, 2012 at 3:28 PM, dgodfrey_amc <dgodfrey@...> wrote:
> **
>
>
> I am trying to upgrade code from Vantage to E9. One problem I am
> having is regarding VB -> C# stuff.
>
> In VB I use PartForm.Session.UserID. I get an error with that in C#.
> What do you use to get the UserID in a Form?
>
>Â
>
[Non-text portions of this message have been removed]
------------------------------------
Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
------------------------------------
Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
[Non-text portions of this message have been removed]
------------------------------------
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links