Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 12th, 2006, 12:31 PM
Authorized User
 
Join Date: Jan 2006
Location: lagos, lagos, Nigeria.
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Default password/user functions

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 With Quote
  #2 (permalink)  
Old January 12th, 2006, 04:27 PM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

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 With Quote
  #3 (permalink)  
Old January 13th, 2006, 08:24 AM
Authorized User
 
Join Date: Jan 2006
Location: lagos, lagos, Nigeria.
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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 With Quote
  #4 (permalink)  
Old January 13th, 2006, 08:49 AM
Friend of Wrox
Points: 4,007, Level: 26
Points: 4,007, Level: 26 Points: 4,007, Level: 26 Points: 4,007, Level: 26
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Lansing, Michigan, USA.
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG
Default

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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
User-defined functions fredh Excel VBA 1 May 7th, 2007 10:28 AM
Portability of User Defined Functions (UDFs) fredh Excel VBA 0 May 3rd, 2007 06:07 PM
Number format in User Defined Functions Moose35 Excel VBA 1 February 17th, 2005 05:23 AM
User-Defined Functions - How to recalculate? kmoran Excel VBA 1 October 5th, 2004 02:45 AM
user defined functions in vba re_anu Access VBA 2 March 3rd, 2004 01:59 PM



All times are GMT -4. The time now is 06:55 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.