|
-
Jan 20th, 2007, 07:10 AM
#1
Thread Starter
Lively Member
[RESOLVED] Global object
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.
-
Jan 20th, 2007, 07:17 AM
#2
Hyperactive Member
Re: Global object
in a module put
VB Code:
Global Profile_name As string
If a post has been usefull then Rate it! 
-
Jan 20th, 2007, 08:15 AM
#3
Thread Starter
Lively Member
Re: Global object
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
-
Jan 20th, 2007, 09:19 AM
#4
Addicted Member
Re: Global object
Public Users_Profile As New UserInfo
-
Jan 20th, 2007, 12:22 PM
#5
Thread Starter
Lively Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|