File Version

  • Thread starter Thread starter Rob
  • Start date Start date
R

Rob

Hi Gurus,
How do I get the file version?

I am able to get the write time using IO.File.GetLastWriteTime(FileName)
But don't know how to get the version number.

Please help me.

I'll appreciate your help.

Thanks, Rob.
 
Rob,

Dim fvi As FileVersionInfo =
FileVersionInfo.GetVersionInfo("C:\SomeFile.exe")
MessageBox.Show(fvi.FileVersion)
 
Back
Top