PC Review


Reply
Thread Tools Rate Thread

Comparing application version with network file?

 
 
Michael Kellogg
Guest
Posts: n/a
 
      22nd Mar 2005
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
 
Reply With Quote
 
 
 
 
=?Utf-8?B?Q3JvdWNoaWUxOTk4?=
Guest
Posts: n/a
 
      22nd Mar 2005
Take a look at this post:

http://msdn.microsoft.com/newsgroups...d-6f6ccab6f10d
 
Reply With Quote
 
Michael Kellogg
Guest
Posts: n/a
 
      22nd Mar 2005
=?Utf-8?B?Q3JvdWNoaWUxOTk4?= <(E-Mail Removed)>
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
no network connection and error: Faulting application , version 0.0.0.0, faulting module unknown, version 0.0.0.0, fault address 0x00000000 rduque41@gmail.com Microsoft Windows 2000 5 4th Dec 2006 03:15 PM
no network connection and error: Faulting application , version 0.0.0.0, faulting module unknown, version 0.0.0.0, fault address 0x00000000 rduque41@gmail.com Windows XP Networking 2 30th Nov 2006 03:26 PM
no network connection and error: Faulting application , version 0.0.0.0, faulting module unknown, version 0.0.0.0, fault address 0x00000000 rduque41@gmail.com Windows XP Help 4 30th Nov 2006 03:25 PM
no network connection and error: Faulting application , version 0.0.0.0, faulting module unknown, version 0.0.0.0, fault address 0x00000000 rduque41@gmail.com Windows XP General 1 30th Nov 2006 02:40 PM
Comparing application version with network file? Michael Kellogg Microsoft C# .NET 3 22nd Mar 2005 08:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:08 AM.