What kind of passwords are you wanting to create? What are you wanting to use the passwords for?
Also, Visual Basic and Visual C++ are two different programs. I'm assuming you mean Visual C++?
alc6379
Cookie... That's it
2,820 posts since Dec 2003
Reputation Points: 186
Solved Threads: 147
Hello,
If he wants a password to get into his program, he could control it with the OS, or he could wriite/use an encryption module to prompt the user for a password, and then write the encrypted string to a file. Then, when access time comes around, have him read in the value, and then do a compare to see if they match or not.
This can be done. If security is not all important, and this is just an exercise, or proof-of-concept type of thing, you can store the password in clear text. Nothing more than a a file open -- read -- compare exercise.
Christian
kc0arf
Posting Virtuoso
1,937 posts since Mar 2004
Reputation Points: 121
Solved Threads: 57
i also need the code i have realy tried to do myself but i m new so i feel very difficulty plz send me at
<>
Might the sir be needing anything else?
neithan
Junior Poster in Training
75 posts since Oct 2009
Reputation Points: 12
Solved Threads: 2
>Might the sir be needing anything else?
For future reference, please be aware that email addresses in posts are against the rules and extremely likely to be removed by the moderators. If you quote the email address, that doubles the work required to clean up the mess because the mod has to edit both the original post and the quote in your post. So please snip judiciously if you must reply to posts that break the rules.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
@Neithan:
First: What Narue said.
Second: A meaningless bump like this (begging for code) will be deleted by me. By replying to this bump, you give me 2 choices:
1. Leave them both (as in this case) and explain why you shouldn't do this
2. Delete them both which also costs me extra time.
So please just press the 'flag bad post' button on the post and save me some time :)
Nick Evan
Not a Llama
10,112 posts since Oct 2006
Reputation Points: 4,142
Solved Threads: 403
>Might the sir be needing anything else?
For future reference, please be aware that email addresses in posts are against the rules and extremely likely to be removed by the moderators. If you quote the email address, that doubles the work required to clean up the mess because the mod has to edit both the original post and the quote in your post. So please snip judiciously if you must reply to posts that break the rules.
Yes, i missed it. Sorry!
neithan
Junior Poster in Training
75 posts since Oct 2009
Reputation Points: 12
Solved Threads: 2