K
-- kurt --
HI ALL
DOES ANYONE HAVE A IDEA WHY GetFileVersion() IS NOT
WORKING ON THE CF EVEN WHEN ITS ON THE HELP AS BELOW:
Public Sub GetFileVersion()
' Get the file version for the notepad.
Dim myFileVersionInfo As FileVersionInfo =
FileVersionInfo.GetVersionInfo("%systemroot%\Notepad.exe")
' Print the file name and version number.
textBox1.Text = "File: " &
myFileVersionInfo.FileDescription & ControlChars.Cr & _
"Version number: " & myFileVersionInfo.FileVersion
End Sub 'GetFileVersion
BUT IN MY System.Diagnostics I DONT HAVE A GetFileVersion.
SO IS THERE A OTHER WAY TO GET THE CURRENT VERSION OF THE
FILE COMPILED ON THE CF SO IT CAN BE DISPLAYED FOR THE
USER ON A FORM?
THANKS FOR YOUR HELP
-- kurt --
DOES ANYONE HAVE A IDEA WHY GetFileVersion() IS NOT
WORKING ON THE CF EVEN WHEN ITS ON THE HELP AS BELOW:
Public Sub GetFileVersion()
' Get the file version for the notepad.
Dim myFileVersionInfo As FileVersionInfo =
FileVersionInfo.GetVersionInfo("%systemroot%\Notepad.exe")
' Print the file name and version number.
textBox1.Text = "File: " &
myFileVersionInfo.FileDescription & ControlChars.Cr & _
"Version number: " & myFileVersionInfo.FileVersion
End Sub 'GetFileVersion
BUT IN MY System.Diagnostics I DONT HAVE A GetFileVersion.
SO IS THERE A OTHER WAY TO GET THE CURRENT VERSION OF THE
FILE COMPILED ON THE CF SO IT CAN BE DISPLAYED FOR THE
USER ON A FORM?
THANKS FOR YOUR HELP
-- kurt --