Version

  • Thread starter Thread starter Thom Little
  • Start date Start date
T

Thom Little

How can I access the version of the current module? Specifically I would
like to create a string of the form ...

major : minor : revision : build
 
Thom,

Please do a search on this newsgroup (perhaps by using google) and you
will find lots of answers to this.

HTH,

//Andreas
 
Hi Thom,

Based on my understanding, you want to get some of the version information
of current running module.

You may use Assembly.GetExecutingAssembly() method to get the current
running assembly referent, then use Assembly.GetName method to get the
AssemblyName instance, then you can refer to AssemblyName.Version to get
the major, minor, revision, and build numbers of the assembly.

=================================================
Please apply my suggestion above and let me know if it helps resolve your
problem.

Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
You're right. My initial search was bogus. After I reloaded Outlook
Express the matches started coming up.

Assembly.GetExecutingAssembly() is the connection that I was missing.

Thanks.
 
Hi Thom,

I am glad I can help you :-)

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 

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

Similar Threads


Back
Top