version number with compact framework

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
 
O

Olivier

thank you for your help.

But I want the version number of another application : not mine :)
 
P

Paul G. Tobey [eMVP]

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.
 
O

Olivier

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)...
 
P

Paul G. Tobey [eMVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top