Posted By

mafro on 04/27/07


Tagged

version


Versions (?)

App Version


 / Published in: VB.NET
 

Retrieve application version at Form_Load

  1. 'set version number label
  2. Dim ver As String = Application.ProductVersion
  3. lblVersion.Text = "v" & ver.Substring(0, ver.Length-2)
  4.  
  5. 'set title on application
  6. Me.Text = My.Application.Info.ProductName & " " & lblVersion.Text

Report this snippet  

You need to login to post a comment.