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.
<Assembly: AssemblyFileVersion("1.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.
When you release your project you can change the version using the properties of your setup project.
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.
ASKER
For "normal" exe files I can use the (FileSystemObject).GetFile Version function to get the version. This is preferably what I would like to use.
You can try the following urls for more info:
http://www.codeproject.com/KB/vb/appsettings2005.aspx?msg=1656555
http://www.codeproject.com/KB/dotnet/ManagingAssemblyVersions.aspx
http://www.codeproject.com/KB/vb/appsettings2005.aspx?msg=1656555
http://www.codeproject.com/KB/dotnet/ManagingAssemblyVersions.aspx
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.
Try the following url
http://support.microsoft.com/kb/817248
http://support.microsoft.com/kb/817248
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
Best Regards
<Assembly: AssemblyVersion("1.3.1.0")