Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Launcher() or Loader() - Best practices
Message
From
22/12/2000 15:38:50
Mike Mattos
Nationwide Computers
Mississauga, Ontario, Canada
 
 
To
22/12/2000 15:19:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00456354
Message ID:
00456455
Views:
21
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!
Previous
Reply
Map
View

Click here to load this message in the networking platform