I am new to VB.NET 2012.
I have been using VFP9 for a long time. In VFP(, i can create a global variable that will be available thought the entire application
I am in the process of converting a login screen into VB.NEt from VFP9.
I have the following code set up in my form:
Public Class Login
'
' setup global variables here- hopefully
' 08/13/14
' jp
'
Public guserid As String = ""
Public guserrights As String = ""
Public gfiaccess As String = ""
Public guserfull As String = ""
'
' end of global variables
'
the variable guserid is populated from a textbox entered my the user.
My question is how can I pass the variable guserid to different forms, form2 thru formx
If this has been answered before, can you please send me the link or let me know how i do this as I have several "global variables"
to process
Any comment/suggestions greatly appreciated
thans you in advance
I have been using VFP9 for a long time. In VFP(, i can create a global variable that will be available thought the entire application
I am in the process of converting a login screen into VB.NEt from VFP9.
I have the following code set up in my form:
Public Class Login
'
' setup global variables here- hopefully
' 08/13/14
' jp
'
Public guserid As String = ""
Public guserrights As String = ""
Public gfiaccess As String = ""
Public guserfull As String = ""
'
' end of global variables
'
the variable guserid is populated from a textbox entered my the user.
My question is how can I pass the variable guserid to different forms, form2 thru formx
If this has been answered before, can you please send me the link or let me know how i do this as I have several "global variables"
to process
Any comment/suggestions greatly appreciated
thans you in advance