Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Launcher() or Loader() - Best practices
Message
De
22/12/2000 15:38:50
Mike Mattos
Nationwide Computers
Mississauga, Ontario, Canada
 
 
À
22/12/2000 15:19:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00456354
Message ID:
00456455
Vues:
22
I autoincrement my build...version so

tc_caption1 = " Unknown Program Version "
tc_caption2 = " Unknown Program Version "
n_a=AGETFILEVERSION(ca_j, SYS(16)) && current file

caj4=" "
IF n_a> 3
tc_caption1 = SYS(16)+ " " + ca_j(4)
ENDIF

n_a=AGETFILEVERSION(ca_j, "\\server\control\my.exe") && your app name here
IF n_a > 3
tc_caption2 = "SYS(16)+ " " + ca_j(4)
ENDIF
ENDIF

_screen.CAPTION=tc_caption1 && so I can see what is going on


then I can compare tc_captionN to tell if I need to do the update!

dirty update is to "run /n2 update.exe" & quit!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform