473,396 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Version take

Hi,

I have a win form application and the deployment (setup files) is in a
shared directory in a LAN. I want every time the app starts to check
if the version of the app is the same as the version of the deployment.
I can take the version of the current app but how to take the version
from the deployment?

Or any others ideas?

Thanks.

Nov 17 '05 #1
2 1214
Consider using ClickOnce deployment, this technology solves all such
problems plus much more.
Works only under .NET 2.0.

http://msdn.microsoft.com/smartclien...clickonce.aspx

"Iwan Petrow" <xx****@abv.bg> wrote in message
news:11*********************@g44g2000cwa.googlegro ups.com...
Hi,

I have a win form application and the deployment (setup files) is in a
shared directory in a LAN. I want every time the app starts to check
if the version of the app is the same as the version of the deployment.
I can take the version of the current app but how to take the version
from the deployment?

Or any others ideas?

Thanks.

Nov 17 '05 #2
Iwan,

See System.Diagnostics.FileVersionInfo

if (openFileDialog1.ShowDialog(this) == DialogResult.OK)
{
System.Diagnostics.FileVersionInfo fvi =
System.Diagnostics.FileVersionInfo.GetVersionInfo( openFileDialog1.FileName);
MessageBox.Show(this, fvi.FileVersion);
}
Dave

"Iwan Petrow" <xx****@abv.bg> wrote in message
news:11*********************@g44g2000cwa.googlegro ups.com...
Hi,

I have a win form application and the deployment (setup files) is in a
shared directory in a LAN. I want every time the app starts to check
if the version of the app is the same as the version of the deployment.
I can take the version of the current app but how to take the version
from the deployment?

Or any others ideas?

Thanks.

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Shufen | last post by:
Hi, I'm a newbie that just started to learn python, html and etc. I have some questions to ask and hope that someone can help me on. I'm trying to code a python script (with HTML) to get...
6
by: manatlan | last post by:
I've got a trouble, and i think that anybody there can help me I've got a python script which i distribute in somes packages for *nix. This script is full of python and need python 2.4 ! And i'd...
6
by: Fred BROUARD - SQLpro | last post by:
Hi there, I have get a book wich have a free trial version of IBM DB2 (7.2) wich I have installed on my PC. The problem is that I cannot run it, because it seems to have no licence. When I...
6
by: Boris | last post by:
I have taken over a project which when compiled creates a DLL which has no version info tab. When you do a right-click with your mouse on the DLL file there is no version info. I checked some other...
8
by: Malakie | last post by:
Hi all: Being that I am trying out VB.net for the first time finally, I am finding much has changed. But what should be one of the easiest things to do is somehow eluding me! Setting your...
9
by: shorti | last post by:
I reviewed a similar post on an older version of DB2. I was wondering if there was anything available now that is more precise in gathering the db2 version for the new v8 calls. I am running...
5
by: JDS | last post by:
I am trying to figure out how to use Subversion, but this question isn't really Subversion-specific. Any version control system will suffer from the same problem, IMO. I've crossposted to those...
2
by: Hongbo | last post by:
Hi, I have a web site built in ASP.Net 1.1 running on production server. It's the version 1.0. Now I need to build the version 2.0 for this web site. The version 2.0 will be built based on the...
17
by: Neil | last post by:
A client of mine likes some of the new bells and whistles in Access 2007, and is thinking about converting our A03 format MDB to an A07 format file. However, while some of the users have A07, many...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.