Results 1 to 2 of 2

Thread: dll

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2001
    Location
    colombo
    Posts
    4

    dll

    hi
    Is any one knows to expire a dll(my own one ) after particular
    date.

  2. #2
    jim mcnamara
    Guest
    Use the Registry. Write an expiration date to the Registry the first time the .dll is called. Everytime it's called:
    Code:
     check Registry to find expiration date
     If not found then
            write date to registry (today + 30 days)
            exit
     End if
     If found then
     Read date from Registry
     compare with today's date
     Exit if today > Expiration date.
     End if
    Use the VB SaveSetting, GetSetting functions.
    Use DateDiff() function to compare dates.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width