|
Post by oxymoron on Jan 21, 2005 21:19:15 GMT -5
I was wondering if there is a way to create a progam that before it starts, you have to enter the correct password.
like with a prompt or something
thanks
|
|
|
Post by Centanoul on Jan 22, 2005 13:45:29 GMT -5
Dim Password$,Password2$ Password$="Pass" Printr "Enter Password" Printr "Esc to Quit" while Password$<>Password2$ Password2$=Password2$+Inkey$() wend Start: Cls Printr "Password Accepted"
I hope that helps.
EDIT: Oh yea, change "Pass" to whatever password you want.
|
|
|
Post by oxymoron on Jan 22, 2005 13:54:20 GMT -5
thanks a lot im not very good at this yet (clearly)
|
|
|
Post by Centanoul on Jan 22, 2005 14:05:14 GMT -5
Thats alright. ;D
|
|
|
Post by 8XenoTrogdor8 on Jan 25, 2005 20:55:41 GMT -5
Now just modify that program to exit when the correct password is entered, disable the escape key, and put the standalone in the startup menu! Thus every time the computer is logged on, it will initiate the program and unless the user knows the password, they wont be able to close it! ;D (in more powerful programming languages, like C++, you can do really cool stuff, like if the user exits the program without typing in the correct password first, it opens two more program windows or something. Muahahaha... )
|
|
|
Post by oxymoron on Jan 25, 2005 21:51:39 GMT -5
thats awesome muhaha too bad i share a comp with other people maybe that makes the program even better ;D
|
|
|
Post by 8XenoTrogdor8 on Jan 26, 2005 0:59:23 GMT -5
Of course it does! lol! ;D
|
|