General information
Category:
Coding, syntax & commands
Title:
Error with Agetfileversion
workstation have Windows 7 Professional and all are able to retrieve the version number of exe file except 1
Code is
----------------------------------------------
lcExeFileName = SYS(5)+SYS(2003)+'\path\programname.exe'
If Agetfileversion(aCver,lcExeFileName) > 0 && we have version
this.Caption = ALLTRIM(this.Caption) + ' ...........ver('+ALLTRIM(aCver(4))+')'
this.p_version = '..ver('+ALLTRIM(aCver(4))+')'
ELSE
MESSAGEBOX('Could not get version',0+4096,'Missing Version',1500)
this.p_version = 'unknown'
ENDIF
---------------------------------------------
the same path and exactly the same programname.exe
However, one workstation fails
any suggestions on what to look for?
thanks in advance
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only