Ok, I have lblVersion and I want the caption to be automatically update with the verson of the exe that is running. So i have something like this:
lblVersion.Caption = ?????
How/Where can I pull the version info?
Zevlag
Printable View
Ok, I have lblVersion and I want the caption to be automatically update with the verson of the exe that is running. So i have something like this:
lblVersion.Caption = ?????
How/Where can I pull the version info?
Zevlag
lblVersion.Caption = app.Major & "." & app.Minor & "." & app.Revision
Easy.
Get your application's .exe and path like this:
And then check this article:Code:strAppEXEPath = App.EXEName + App.Path
http://www.vb-world.com/files/tip525.html
HTH