By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,157 Members | 1,318 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,157 IT Pros & Developers. It's quick & easy.

File version

P: n/a
Lou
I did a previous post but no one could answer the question of ho to retrieve
the file version of a file. There must be a simple way to get this
information??
In VB6 I used api's

Private file_info As New CVersion
file_info.FullProductVersion
Nov 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
See the System.Diagnostics.FileVersionInfo.ProductVersion property.

"Lou" <lo********@comcast.net> wrote in message
news:OQ*************@TK2MSFTNGP12.phx.gbl...
I did a previous post but no one could answer the question of ho to retrieve the file version of a file. There must be a simple way to get this
information??
In VB6 I used api's

Private file_info As New CVersion
file_info.FullProductVersion

Nov 20 '05 #2

P: n/a
"Lou" <lo********@comcast.net> schrieb
I did a previous post but no one could answer the question of ho to
retrieve the file version of a file. There must be a simple way to
get this information??


Please be a little bit more patient. I have to type in my reply before
sending it. ;-) See the other thread.
--
Armin

Nov 20 '05 #3

P: n/a
Are you looking for your *own* version, or for another file's version?

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit

"Maybe it's a game called 'Punish the User'"
"Lou" <lo********@comcast.net> wrote in message
news:OQ*************@TK2MSFTNGP12.phx.gbl...
: I did a previous post but no one could answer the question of ho to
retrieve
: the file version of a file. There must be a simple way to get this
: information??
:
:
: In VB6 I used api's
:
: Private file_info As New CVersion
: file_info.FullProductVersion
:
:
Nov 20 '05 #4

P: n/a
Hello,

"Lou" <lo********@comcast.net> schrieb:
I did a previous post but no one could answer the question of
ho to retrieve the file version of a file.


Have a look at the 'System.Diagnostics.FileVersionInfo' class.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.