Link to home
Start Free TrialLog in
Avatar of bmutch
bmutch

asked on

Add version number to exe (created in VS 2008 - compact framework)

I want to add version info to my mobile device exe file and apparently the following line is not supported in CF (windows mobile 6.0), ideas?:

<Assembly: AssemblyFileVersion("1.0.0.0")>

i.e., what I want to do is be able to to right-click on the exe and have the version displayed in a "version" tab just like a "normal" exe. I would then be able to read this version in code FROM A VB6 PROGRAM.

thanks.
Avatar of alexey_gusev
alexey_gusev
Flag of United Kingdom of Great Britain and Northern Ireland image

this one is supported though, so you can read it I reckon

<Assembly: AssemblyVersion("1.3.1.0")>
When you release your project you can change the version using the properties of your setup project.
Avatar of bmutch
bmutch

ASKER

Please let me know how/if these solutions will lead to something I can read in a VB6 program... seems I recall the AssemblyVersion was not readable from VB6.
Avatar of bmutch

ASKER

For "normal" exe files I can use the (FileSystemObject).GetFileVersion function to get the version. This is preferably what I would like to use.
Avatar of bmutch

ASKER

Is there any indication that I can read the "assembly" version from vb6 somehow, please, I need a solution that will work IN VB6.
Avatar of bmutch

ASKER

I don't see where in the above article it references my issue, and again this article is about creating dotnet "COM" components to run on a PC.
ASKER CERTIFIED SOLUTION
Avatar of bmutch
bmutch

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I was just giving you some clues, so you could somehow, get in the right direction. Some principles in programming are the same...

Best Regards