ok.. i am suppose to do a login for user. so throught the system the member id will be passed around.. so how i store the memberid my member will be doing other part of the application so how their application know the member id
Hi, There are separate ways of solving your problems.
1. Create a structure called userprofile, and store it in module. This can have the user identity etc. 2. If you want to pass the userID, you can do so by creating properties in each form. Like Set_UserID, and then base your processing on the user id.
I still think, a structure with such user related properties, like UserID, Email, TelNo etc. stored in a MOdule as a public structure will simplify your problem
Sure. Just create a global variable, set the value, and it is available throughout your application. There are a few scoping issues in some scenarios, depending how you have your app structured in assemblies. But it it's all one big assembly you shouldn't have a problem.
Something like this:
Public sString as String sString = "Hi!"
Then you can just access the sString variable anywhere in the assembly.
replacing "session" in web application
Bilbob
Boris C
Tell us more about what you're trying to do and we'll try to help.
Don
Joshua Belden
There are separate ways of solving your problems.
1. Create a structure called userprofile, and store it in module. This can have the user identity etc.
2. If you want to pass the userID, you can do so by creating properties in each form. Like Set_UserID, and then base your processing on the user id.
I still think, a structure with such user related properties, like UserID, Email, TelNo etc. stored in a MOdule as a public structure will simplify your problem
Hope this helps
Dan-el
Something like this:
Public sString as String
sString = "Hi!"
Then you can just access the sString variable anywhere in the assembly.
That what you're asking
Don
Mike F