Hello,
Using the net framework v1.1, If I want to capture the application's version
all I had to do was to use "Application.ProductVersion" code.
For the .net compact framework the "Application.ProductVersion" is not
available.
How can I get the compiled .exe version of the file using .net compact
framework?.
I am using VB.net 2003 and developing a smart device application for a
pocket pc 2003.

Thanks in advance.

Re: application version by Peter

Peter
Thu May 25 16:33:36 CDT 2006

Use System.Reflection.Assembly.GetExecutingAssembly().GetName().Version to
get the version.

Peter

--
Peter Foot
Windows Embedded MVP
www.peterfoot.net | www.inthehand.com

"Alex Bombino" <Alex Bombino@discussions.microsoft.com> wrote in message
news:2337AECE-00AA-4C6B-8D6F-3A963F302178@microsoft.com...
> Hello,
> Using the net framework v1.1, If I want to capture the application's
> version
> all I had to do was to use "Application.ProductVersion" code.
> For the .net compact framework the "Application.ProductVersion" is not
> available.
> How can I get the compiled .exe version of the file using .net compact
> framework?.
> I am using VB.net 2003 and developing a smart device application for a
> pocket pc 2003.
>
> Thanks in advance.