Try
Dim myFileVersionInfo As FileVersionInfo =
FileVersionInfo.GetVersionInfo("E:\Subscriptions\N EW - Subs Reporting
Install\SubsReporting.exe")
If myFileVersionInfo.ProductVersion <> Application.ProductVersion Then
If MessageBox.Show("This product has been updated and you are running an
older version." & vbCrLf & vbCrLf & "Do you wish to get the latest
updates.?", "SUBS REPORTING : WARNING !", MessageBoxButtons.YesNo,
MessageBoxIcon.Question) = DialogResult.Yes Then
Call Shell("C:\Program Files\WARC\Subs Reporting\SubsReportingUpdater.exe",
AppWinStyle.NormalNoFocus)
Application.Exit()
Else
Application.Exit()
End If
End If
myFileVersionInfo = Nothing
Catch objE As Exception
MessageBox.Show(obje.Message, "Error encountered ==> frmMenu_Load")
End Try
"Gary Dunne" <Mo*********@Eircom.Net> wrote in message
news:OD**************@TK2MSFTNGP09.phx.gbl...
Look for the FileVersionInfo class in Help
"Chubbly Geezer" <ch************@newsgroup.nospam> wrote in message
news:uH**************@TK2MSFTNGP10.phx.gbl... Hi
I want to check that users have the latest version of an app by checking
it's version number against that held on the server. Would anyone know
how to access this via code.
Thanks