Walter Meester
HoogkarspelPays-Bas
Gustavo,
Write a small exe that checks the versions of the two files (See the AGETFILEVERSION() or the FDATE() function). If the file need to get copied use a COPY FILE command, and start it with a !/nMyApp command.
To hide the main Visual FoxPro window of the small exe, include a config.fpw in the small exe with the line SCREEN=OFF
Succes,
Walter,
>I am trying to do a executable file manager that launch VFP ".exe" files, but before, verify the version of the .exe and if it´s older than another on a specified path, then copy the new version before execute.
> Someone knows the easiest way to acomplish that?
> Thanks.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement