04-12-2013, 06:31 PM
You can have another string within the database (Field) called "GROUP". There can be several types of groups, for example, "admin", "member", "nobody", etc.
Then, when you log in, just do something like this:
[code2=vbnet]Dim Group As String = "" 'GROUP from Database
If (Group.Equals("Admin")) Then
MakeEverythingVisible() 'Subroutine that unlocks everything
End If[/code2]
I cannot provide you with a specific solution, but instead must provide you with pseudocode since I don't know your exact situation.
You can also download pictures by using the
[code2=vbnet]My.Computer.Network.DownloadFile()[/code2]
subroutine.
Hopefully this helps!
Then, when you log in, just do something like this:
[code2=vbnet]Dim Group As String = "" 'GROUP from Database
If (Group.Equals("Admin")) Then
MakeEverythingVisible() 'Subroutine that unlocks everything
End If[/code2]
I cannot provide you with a specific solution, but instead must provide you with pseudocode since I don't know your exact situation.
You can also download pictures by using the
[code2=vbnet]My.Computer.Network.DownloadFile()[/code2]
subroutine.
Hopefully this helps!