Starting programs w/ a password


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Starting programs w/ a password

  1. #1
    Matt Guest

    Starting programs w/ a password



    My question is how do I use multiple passwords to log in to a program.
    What I have done so fro is, I made a for to look like a password box. I
    shrunk the form down to size, added command boxes and a text box. Then I
    put this code in one of the command buttons,

    If text1,text = "password" then form1.visible = True

    (or form1.show)

    My question is, this works for only one password, what if I want to allow
    for passwords to be added later. What code can I use to allow for adding
    more than password to login, do I use a databse or what.

    Thanx,
    Matt

  2. #2
    Michael Cole Guest

    Re: Starting programs w/ a password


    "Matt" <umeboshi77@hotmail.com> wrote in message
    news:3c1e55ec$1@147.208.176.211...

    >What code can I use to allow for adding
    > more than password to login, do I use a databse or what.


    Yes.





  3. #3
    Goen Guest

    Re: Starting programs w/ a password

    Matt:

    actually you need database that containt table (any) to save all user
    application.

    "Matt" <umeboshi77@hotmail.com> wrote in message
    news:3c1e55ec$1@147.208.176.211...
    >
    >
    > My question is how do I use multiple passwords to log in to a program.
    > What I have done so fro is, I made a for to look like a password box. I
    > shrunk the form down to size, added command boxes and a text box. Then I
    > put this code in one of the command buttons,
    >
    > If text1,text = "password" then form1.visible = True
    >
    > (or form1.show)
    >
    > My question is, this works for only one password, what if I want to

    allow
    > for passwords to be added later. What code can I use to allow for adding
    > more than password to login, do I use a databse or what.
    >
    > Thanx,
    > Matt




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center