Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Last built and Version Number
Message
From
23/07/2006 12:32:07
Hans-Otto Lochmann
Dr. Lochmann Consulting Gmbh
Frankfurt, Germany
 
 
To
23/07/2006 11:25:40
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01138901
Message ID:
01138934
Views:
22
Hi Dragan,

that does it!

Thank you for this little piece of useful code.

Greetings

Hans

>>Hi Marcia,
>>
>>thank your for this quick answer. I'll check that later.
>>
>>Just to clarify: I have somewhere in the .exe a button, which, when clicked, should send a message box, which then says: "This is Version xyz build on xx.xx.xxxx". This information is somewhere in the Project Manager. BTW: I'm using RAS MLC Project Builder v5.0.1, which can read all the required data from the Project Manager. I assume that that information is also somewhere hidden in the .exe-file and might be retrieved from inside the application.
>>
>>In my FPW 2.6 Projects I had some kind of a small dbf-file. In that I stored the version number and the built date with a small program, which I run before building the .exe-file. This small file was included in to project and can easily be read within the exe.
>>
>>I'm looking for something similar and as easy to use, but automatically created by the project manager.
>
>In the project manager, click on build and there's the Version button which gets you another dialog where you can set autoincrement version (which I presume you already somehow do using your project builder).
>
>Here's how I output the version number in my error logger:
>
>N=Astackinfo(aStk)
>** ...some more code
>** ... and then
>IF LOWER(JUSTEXT(aStk[1,2]))="exe"
>	AGETFILEVERSION(aa,aStk[1,2])
>	\ Build: <<aa[4]>>
>	RELEASE aa
>ENDIF
Previous
Reply
Map
View

Click here to load this message in the networking platform