Ask Experts Questions for FREE Help !
Ask
    Vitalis's Avatar
    Vitalis Posts: 2, Reputation: 1
    New Member
     
    #1

    Apr 14, 2006, 01:00 AM
    How to make the users accounts using Visual basic 6.0
    I am writing a program using Visual Basic 6.0. In my project, I would like to have the users identify themselves as the authorized users i.e. there is an administrators account and the guest account like it is in windows XP. Using the Visual basic progam, can someone give me tips and even codes on how to code program. I would like to have the administrator to have full permission of the program while the guest to have limited privileges.
    ScottGem's Avatar
    ScottGem Posts: 64,966, Reputation: 6056
    Computer Expert and Renaissance Man
     
    #2

    Apr 14, 2006, 05:50 AM
    I can't give you specifics (not a VB coder). But I can tell you the basic process.

    First you need to have a table that stores the account information (i.e. username, password account type). Next, you have to create a public, global variable to store the username or account type of the currently logged in user. Finally, you have to check that info before performing any action that would be restricted to only certain account types. Something like this:

    If accountype = "Admin" Then
    do this
    Else
    do that
    End if

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Visual basic [ 1 Answers ]

Where do I go on my computer to find out what version of visual basic I have? Thanks

Visual Basic 6.0 [ 1 Answers ]

What is the cost of Visual Studio 6.0 Enterprise Edition?

Visual basic [ 1 Answers ]

How can I disable maximise button of a form but minimise and close button should be enable?

Visual Basic [ 1 Answers ]

I want to add icon in the button which I have used in my visual basic program. How can I do that. Please help.

Make a till in Visual Basic 6.0 [ 2 Answers ]

Hai, my name is raken, well lets to the point: Create an application that all stimulate a till. The application should allow a user to enter an item and the quantity purchased. Item description and cost should be read from a file or database. There should be a display showing the items...


View more questions Search