Results 1 to 3 of 3

Thread: [Resolved] Get program version number

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2001
    Location
    Indiana
    Posts
    612

    [Resolved] Get program version number

    In the load event of my program, I want to be able to get the current program version of the program.

    Does anyone have some code that would allow me to do this?

    Thanks

    P.S. I need the Major, the minor, and the revision numbers.
    Last edited by indydavid32; May 27th, 2004 at 02:39 PM.
    David Wilhelm

  2. #2
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682
    MyForm.Text = "Version: " & Application.ProductVersion

    or to get all the individual parts in one object...
    Code:
    Dim v As Version = New Version(Application.ProductVersion)
    ...
    MyForm.Text = "Major: " & v.Major
    MyForm.Text = "Minor: " & v.Minor
    ...' and so on
    I don't live here any more.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2001
    Location
    Indiana
    Posts
    612
    That does the trick, thanks!
    David Wilhelm

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