How can I read creation or modification date of running app?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • In an attempt to determine if the version of my program is the most recent I would like to display in a string the creation date or date modified of the app itself. I'm using the File Time object and directing it to the current running app by Apppath$+Appname$+".exe". I'm then grabbing the month, day, and year from the File Time object. The problem is inside of MMF2 it works as expected and gives the information but when the app is "built" to an exe and run independently, no data is returned.

    Anyone have any ideas?...

    Thanks

  • Does the string return nothing at all? It maybe that the edittime compensates for \'s left out. Try apppath$+"\appname.exe" ...

    Game Launcher Creator V3 - Please login to see this link.
    Bespoke Software Development - Please login to see this link.
    Learn Clickteam Fusion 2.5 - Please login to see this link.

    Danny // Clickteam

  • Well, the TimeFile object is quite old (MMF2) and it's a 3rd party extension also.

    You can get the file attributes using the Clickteam extension ("File Object") this will return Creation date, modified date and last access date.

    Game Launcher Creator V3 - Please login to see this link.
    Bespoke Software Development - Please login to see this link.
    Learn Clickteam Fusion 2.5 - Please login to see this link.

    Danny // Clickteam

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!