version number with compact framework

  • Thread starter Thread starter Olivier
  • Start date Start date
O

Olivier

Hello,

I try to read the version number of an application with compact framework
I don't find how to do


I try this :
NumeroVersion = FileVersionInfo.GetVersionInfo(folderDestination +
ApplicationName)
but it doesn't work


thank you for your help
Olivvv
 
thank you for your help.

But I want the version number of another application : not mine :)
 
Most applications in Windows CE don't have version information in their
EXEs. Is the other EXE managed code or native code? What else do you know
about it?

Paul T.
 
Thank you for your help.

They are just another applications made by me in vb.net .
I can modify them,if I have to.
I just try to do an update application for them and i would like to use this
information.

Olivier



"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> a écrit dans le message de (e-mail address removed)...
 
OK, then the "version" that you're talking about is the one set how? The
assembly version? Seems like you should be able to load the assembly (the
EXE), and query it from your code. Something like

a = Assembly.LoadFrom( "name" );
n = a.GetName();
major = n.Version.Major;
minor = n.Version.Minor;
rev = n.Version.Revision;

Paul T.

Olivier said:
Thank you for your help.

They are just another applications made by me in vb.net .
I can modify them,if I have to.
I just try to do an update application for them and i would like to use
this information.

Olivier



"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> a écrit dans le message de (e-mail address removed)...
Most applications in Windows CE don't have version information in their
EXEs. Is the other EXE managed code or native code? What else do you
know about it?

Paul T.
 
Back
Top