Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. how to give expiry date

how to give expiry date

Scheduled Pinned Locked Moved Visual Basic
questiondatabasesysadmintutorialannouncement
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    furher
    wrote on last edited by
    #1

    i have developed an application using MS SQL, VB 6 usifn Seagate crystal reports. i want to create this application as a demo version, for this i need to go for putting the expiry date for the application. how can i do that ? or something to be done during pacakage and deployment ? thanx a lot ..:) furher

    R V 2 Replies Last reply
    0
    • F furher

      i have developed an application using MS SQL, VB 6 usifn Seagate crystal reports. i want to create this application as a demo version, for this i need to go for putting the expiry date for the application. how can i do that ? or something to be done during pacakage and deployment ? thanx a lot ..:) furher

      R Offline
      R Offline
      rikky_222
      wrote on last edited by
      #2

      i have got an idea...try this...during the form load of ur main form...store the date of first run in a text file through file commands at an unknown location...e.g. windows/system32... and then every time the user runs...the formload checks for thr file and reads the date and comapares with the currnt date...if it doesnt find the file then its the first run and u need to create the file...and u can set the date to any number of days after the first run date.... subhrajyoti

      V 1 Reply Last reply
      0
      • F furher

        i have developed an application using MS SQL, VB 6 usifn Seagate crystal reports. i want to create this application as a demo version, for this i need to go for putting the expiry date for the application. how can i do that ? or something to be done during pacakage and deployment ? thanx a lot ..:) furher

        V Offline
        V Offline
        Vikrant Badhai
        wrote on last edited by
        #3

        Hi Furher, Iam also looking for the same code. :cool: Thanx & Regards. Success is not a Destination, ... But a Journey !!

        1 Reply Last reply
        0
        • R rikky_222

          i have got an idea...try this...during the form load of ur main form...store the date of first run in a text file through file commands at an unknown location...e.g. windows/system32... and then every time the user runs...the formload checks for thr file and reads the date and comapares with the currnt date...if it doesnt find the file then its the first run and u need to create the file...and u can set the date to any number of days after the first run date.... subhrajyoti

          V Offline
          V Offline
          Vikrant Badhai
          wrote on last edited by
          #4

          Hi Rikky, Thanx for ur response. I will surely try this. But there is a small problem. If suppose the file is renamed or deleted, then the demo version will be of no use. :) Thanx & Regards. Success is not a Destination, ... But a Journey !!

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups