Results 1 to 4 of 4

Thread: compile date

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2000
    Location
    Isle of Man
    Posts
    276
    how do i extract the date and time my exe file is complied, so i can show it on the about screen alongside the version number....?

  2. #2
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238

    Lightbulb FileTimeToSystemTime

    Take a look on this sample program. and sure you'll know how to do it.


  3. #3
    Addicted Member LAURENS's Avatar
    Join Date
    Jan 2000
    Location
    Utrecht, the Netherlands
    Posts
    138
    You could also simply say something like
    lblFiledate = Format$(FileDateTime(App.Path & "\" & App.EXEName & ".exe"), "Your date format")
    Regards,
    Laurens

    Using VB5 Enterprise edition SP3
    VB6 Enterprise edition SP5

  4. #4
    Member hgroot's Avatar
    Join Date
    Dec 2001
    Location
    Amsterdam
    Posts
    52
    With FileDate you only get the file creation date, not the compile date. For a working sample for compile date, have a look at: http://www.vbforums.com/showthread.php?threadid=76843

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