Answer» hello, i want to make a window using VBSCRIPT which asks password from the user. i have used 'inputbox' for that. but it checks for only one predefined password. how can i, make a provision, that any one can register, and then enter his password in the window create above. how can i make, my program remember the passwords and user names of all the users?
please help me out. its really urgent. please please....... best way would be to set up a DATABASE with all the usernames and passwords, but you could use a text file if you don't care too much about SECURITY when the user hits ok, run the input through a for loop so it can locate the USERNAME in the database, once the username has been found, check if the password is right with an if statement. Quote from: Tripti on October 31, 2007, 07:40:24 AM hello, i want to make a window using VBScript which asks password from the user. i have used 'inputbox' for that. but it checks for only one predefined password. how can i, make a provision, that any one can register, and then enter his password in the window create above. how can i make, my program remember the passwords and user names of all the users?
please help me out. its really urgent. please please.......
although i wouldn't recommend such implementation of a password system, however, you can check here for some guide on how to implement it.thanks a lot dear. but i still dont understand how to implement and use a database. can you please send me a link to understand, how to do database connectivity. thank you in advance You're going to have to get a book..... sorry. Databases aren't really all that easy to work with, especially for what you're needing to do. A few good places to START are at the MSDN library on the Microsoft website. You can browse through their online catalog or you can opt to buy books too. Find a book that deals with Visual Basic and MS SQL
|