Hello!
At programm start I save user's profile.
Further depending om values of user profile i show pertenant forms.
How may i transfer (or declare) the user profile to be accessable for all forms.
Printable View
Hello!
At programm start I save user's profile.
Further depending om values of user profile i show pertenant forms.
How may i transfer (or declare) the user profile to be accessable for all forms.
in a module put
VB Code:
Global Profile_name As string
Hello!
Thank you , I work with 2005.
I did following:
Module GlobalDec
Class UserInfo
Private ID As String
Private Name As String
Private PSW As String
Private Language As String
Private Level As String
......................................................
End Class
Global Users_Profile As New UserInfo --->Here I got "Syntax error"
End Module
Public Users_Profile As New UserInfo
Thank You it works