hi daniweb guys
i need to develop a web-based application in vb6. what is the best way to go? And if you don't mind how can i randomly generate passwords in vb6 i.e. like the way they do it in e-mail registration?
I think it is easy to create web based applications in vb first you need to add a web browser navigator to the form to learn its control just add a form and select web browser template.
It is good to use some more external controls or sources to make it more web based program.Good luck..
To create a Random password , i think it is easy just use random function.You can call a random number.Use a loop and set the number of loop if it is 6 then the password length will be 6.
Then add an integer called psd.
Before going to next , include the current random number in psd.
After the loop finishes you will get a random number password.
Or to make it more add one string psdstring.
In this case before including the number to psd , you can compare the number ,
if the number [psd]is 1 then set psdstring & = psdstring & " a "
elseif psd is 2 then set psdstring =psdstring & " b ".
I think , when the loop finishes then you will get a random password.
In case if you want to store the psdstring and user name then use a database and save the user name and psdstring.
Please , don't forget to include the number like psdstring=psdstring & " a " or when the loop finishes then you will get only one number or word as password.
Here i created a randomized password program.When you click the button then it will create a password of 7 characters which is randomized.
And you can use that number as a verification password or if you want to use it in user lo-gin then you must store it in a database.