For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic > August 2005 > Newbie: Get Version number automatically









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Newbie: Get Version number automatically
smith

2005-08-29, 9:55 pm

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.


Veign

2005-08-29, 9:55 pm

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
>



smith

2005-08-30, 3:55 am

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


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com