PDA

Click to See Complete Forum and Search --> : VB snippet:code for version info


aafuss
Feb 21st, 2003, 10:17 PM
Here is a greeat way to add versin info to your program. First create a function called progver and add this code,a label and a command button control like this below:

Private Sub Command1_Click()
Call progver
End Sub

Public Function progver()
MsgBox "Version 2.12"

End Function

Private Sub Label1_Click()
Call progver
End Sub

Clafouti
Feb 22nd, 2003, 04:27 AM
I think it's better to use
<vbcode>Msgbox "Version " & Str(App.Major) & "." & Str(App.Minor)</vbcode>
:cool: