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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top