Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting an application version number

Status
Not open for further replies.

jfrost10

Programmer
Jun 3, 2001
2,004
CA
Hey guys,

We need to write a ppc app that will check a location for an updated version.

But before we get to that point, we need to be able to figure out what the version of the current app is programatically, and I can't for the life of me figure it out. Anyone done this before?

This is with the .NET Compact Framework 1.1 btw.

Thanks,

D
 
In case anyone is wondering the same thing, the answer is:

Add
Imports System.Reflection

Then do

[Assembly].GetExecutingAssembly.GetName.Version.ToString

D
 
Jfrost,

Thanks for the tip. headed that way with a new app now so it'll help

dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top