| Author |
Newbie: Get Version number automatically
|
|
|
| Hi,
Is there a way to get the version number set in Project->Properties and
display it in an About box?
TIA
| |
| Jeff Johnson [MVP:VB] 2005-08-29, 9:55 pm |
|
"smith" <jsmith@yahoo.ca> wrote in message
news:JFOQe.4357$2F1.237544@news20.bellglobal.com...
> Is there a way to get the version number set in Project->Properties and
> display it in an About box?
Look up the properties of the Application object in help.
| |
|
| Look into the follow properties:
App.Major
App.Minor
App.Revision
--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
http://www.veign.com/vrc_main.asp
--
"smith" <jsmith@yahoo.ca> wrote in message
news:JFOQe.4357$2F1.237544@news20.bellglobal.com...
> Hi,
>
> Is there a way to get the version number set in Project->Properties and
> display it in an About box?
>
> TIA
>
>
| |
| Kevin Provance 2005-08-29, 9:55 pm |
|
Dim sVersion as String
sVersion = App.Major & "." & App.Minor & "." & App.Revision
MsgBox SVersion, vbInformation
- Kev
"smith" <jsmith@yahoo.ca> wrote in message
news:JFOQe.4357$2F1.237544@news20.bellglobal.com...
> Hi,
>
> Is there a way to get the version number set in Project->Properties and
> display it in an About box?
>
> TIA
>
| |
|
| Thank you for the fast and helpful answers!
I havent installed MSDN help due to space. I googled like crazy and got
nothing. I guess my terms were wrong.
"Kevin Provance" <casey@tpasoft.com> wrote in message
news:eIR263QrFHA.1168@TK2MSFTNGP11.phx.gbl...
>
> Dim sVersion as String
>
> sVersion = App.Major & "." & App.Minor & "." & App.Revision
>
> MsgBox SVersion, vbInformation
>
> - Kev
>
> "smith" <jsmith@yahoo.ca> wrote in message
> news:JFOQe.4357$2F1.237544@news20.bellglobal.com...
>
>
| |
| Jeff Johnson [MVP: VB] 2005-08-30, 3:55 am |
|
"smith" <jsmith@yahoo.ca> wrote in message
news:fIQQe.4413$2F1.264386@news20.bellglobal.com...
> I havent installed MSDN help due to space.
http://msdn.microsoft.com/library
|
|
|
|