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

Comparing application version with network file?

P: n/a
At the beginning of program execution, I want to compare the executing
version of the program against the network copy to see if there's been an
update. In the "Properties" window of an EXE, I can see the version there,
but cannot figure out how to get the version out programmatically.

Anyone know how I can do this? Or am I better off just comparing versus
the creation date of a file or something?

--
Michael
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a

P: n/a
=?Utf-8?B?Q3JvdWNoaWUxOTk4?= <Cr**********@discussions.microsoft.com>
wrote:
http://msdn.microsoft.com/newsgroups...osoft.public.d
otnet.languages.vb&mid=ea5c807a-00cb-423e-9bfd-6f6ccab6f10d


That is perfect! Thanks.

Solution:

File version (not executing):
System.Diagnostics.Fileversioninfo.GetVersionInfo
(filename).ProductVersion

File version (executing):
Application.ProductVersion
Thanks for the help.

--
Michael Kellogg
Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.