Results 1 to 2 of 2

Thread: VB snippet:code for version info

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2002
    Location
    Australia
    Posts
    635

    VB snippet:code for version info

    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:
    Code:
    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
    A.A. Fussy
    Babya Software Group

  2. #2
    New Member
    Join Date
    Dec 2000
    Location
    Brussels (Belgium)
    Posts
    11

    Better use

    I think it's better to use
    <vbcode>Msgbox "Version " & Str(App.Major) & "." & Str(App.Minor)</vbcode>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width