|
Subject:
|
password/user functions
|
|
Posted By:
|
sola
|
Post Date:
|
1/12/2006 11:31:54 AM
|
i want to create a password or/and user name that is a function and not a string. e.g a password that is a function of the system date on the computer that my access application is running on,when originally loaded on a system. how can i do this. Also i want to create a procedure that will server has the timer of an access apllication,so that after a specific number of days,e.g 30 days,the application stops function,this is basically for demo versions of an access apllication.
|
|
Reply By:
|
mmcdonal
|
Reply Date:
|
1/12/2006 3:27:59 PM
|
I am not sure what you want for the first item. Can you explain more?
The second item you can do by writing a registry key value that calculates the last day of the demo. Then check that key each time the app is started. If the Current System Date() is greater than the registry date, then Application.Quit.
HTH
mmcdonal
|
|
Reply By:
|
sola
|
Reply Date:
|
1/13/2006 7:24:36 AM
|
THANKS,I WILL TRY IT OUT. FOR THE 1ST QUESTION,MOST PASSWORDS ARE STRINGS,I WANT TO CREATE A PASSWORD THAT IS A FUNCTION.E.G AN APPLICATION THAT USES THE CURRENT SYSTEM DATE WHEN EVER ITS OPENED AS THE PASSWORD,THANKS.
|
|
Reply By:
|
SerranoG
|
Reply Date:
|
1/13/2006 7:49:04 AM
|
For the second item, you can just set the password by using the Date() function. I'm just curious as to why you want to do that. Is this also for the trial version? "The password is today's date." Having a password automatically changing daily can be dangerous, especially if it's not documented somewhere clearly as to what it is.
Greg Serrano Michigan Dept. of Environmental Quality, Air Quality Division
|