Version Number

DGWired
10-16-2002, 11:33 AM
Is there a way to get your version number of the program you are creating to display somewhere in the program (like on a splash screen)

i.e

I have the auto increment checked in my project properties and i would like the version number to display in a label on my splash screen without having to change it my self on every new build.


Thanks

GMan_NC
10-16-2002, 11:34 AM
App.Major
App.Minor
App.Revision

rimby
10-16-2002, 11:35 AM
Put this code in your Form_Load sub:


Label1.Caption = "Version " & App.Major & "." & App.Minor & "." & App.Revision


(Where Label1 is the name of your label control.)

DGWired
10-16-2002, 11:49 AM
cool thanks

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum