Hi,
Our C# windows form applications deploy on our clients, most PCs are Windows
XP.
And we want to do something so the application will listen to our server to
check if an updating is needed, to some extent it's similiar to the Windows
Update.
I am not sure if C# can do this or I have to solve it in other ways.
Any help will be appreciated.
Jason 5 3276
Hello,
Without posting our internal code here, which i am sure i would get shot
for, we basically use the following method.
We have a text file on our server which contains a simple version number.
Every 30 minutes or so , the application checks this version number in a
seperate thread so that it dosn't interfere we the applications main thread
too much.
If an update is available we simply alert the user to this and give them the
oppertunity to download it if they want.
Its quite a simple solution, but it works perfectly without much code.
If you need any further help i can post some code example of how we do this.
Regards
"Jason Huang" wrote: Hi,
Our C# windows form applications deploy on our clients, most PCs are Windows XP. And we want to do something so the application will listen to our server to check if an updating is needed, to some extent it's similiar to the Windows Update. I am not sure if C# can do this or I have to solve it in other ways. Any help will be appreciated.
Jason
Perhaps you should look into No Touch Deployment (.Net 1.x) or
ClickOnce deployment (.Net 2.0).
Hi,
Take a look at Application Updater block in MSDN patterns in http://msdn.microsoft.com/library/de.../updaterv2.asp
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Jason Huang" <Ja************ @hotmail.com> wrote in message
news:OS******** ******@TK2MSFTN GP14.phx.gbl... Hi,
Our C# windows form applications deploy on our clients, most PCs are Windows XP. And we want to do something so the application will listen to our server to check if an updating is needed, to some extent it's similiar to the Windows Update. I am not sure if C# can do this or I have to solve it in other ways. Any help will be appreciated.
Jason
Thanks Scott.
I would like to see your code sample.
"Scott Blood" <Sc********@dis cussions.micros oft.com> ¼¶¼g©ó¶l¥ó·s»D: F2************* *************** ******@microsof t.com... Hello,
Without posting our internal code here, which i am sure i would get shot for, we basically use the following method.
We have a text file on our server which contains a simple version number. Every 30 minutes or so , the application checks this version number in a seperate thread so that it dosn't interfere we the applications main thread too much. If an update is available we simply alert the user to this and give them the oppertunity to download it if they want.
Its quite a simple solution, but it works perfectly without much code.
If you need any further help i can post some code example of how we do this.
Regards
"Jason Huang" wrote:
Hi,
Our C# windows form applications deploy on our clients, most PCs are Windows XP. And we want to do something so the application will listen to our server to check if an updating is needed, to some extent it's similiar to the Windows Update. I am not sure if C# can do this or I have to solve it in other ways. Any help will be appreciated.
Jason
Thanks Ignacio.
Now I've downloaded and installed the Updater Aplication Block, V2.
But there're several projects in the updater.sln.
How do I apply the updater for my current application?
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.mach in AT dot.state.fl.us > ¼¶¼g©ó¶l¥ó·s»D: eE************* *@TK2MSFTNGP11. phx.gbl... Hi,
Take a look at Application Updater block in MSDN patterns in http://msdn.microsoft.com/library/de.../updaterv2.asp
-- Ignacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation
"Jason Huang" <Ja************ @hotmail.com> wrote in message news:OS******** ******@TK2MSFTN GP14.phx.gbl... Hi,
Our C# windows form applications deploy on our clients, most PCs are Windows XP. And we want to do something so the application will listen to our server to check if an updating is needed, to some extent it's similiar to the Windows Update. I am not sure if C# can do this or I have to solve it in other ways. Any help will be appreciated.
Jason
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Nick |
last post by:
Hi,
I would like to make my application to automatically
check on updates from a source and if any, downloads it
and automatically updates itself with the new version.
Now because the application itself is running, I cannot
update the executable immediately, but need to request a
restart of the computer to automatically update itself.
Does anyone know how I can update the application without
having to restart the computer but is still...
|
by: arduk |
last post by:
I am attempting to use the Application Updater block so that I can have my
..net windows forms application automatically update when a new version is
available.
I have deployed version 1.0.0.0 to the user machine.
I have created version 1.0.0.1, and put this on the update server
I am trying to build a self updating application (started using the appstart
application as in the samples given).
|
by: Saso Zagoranski |
last post by:
Hi!
I've started to use the MS AutoUpdater AppBlock in my Application.
I found a solution on how to do it here:
http://dotnetjunkies.com/WebLog/bsblog/archive/2004/06/10/16118.aspx
I have implemented all the code and it works except I have those two
problems:
- the application doesn't ask if I want to restart the app
|
by: Josh Salit |
last post by:
Hi,
I'm working with a TCP/IP server (Mixed C/C++, built with VC++ .NET
2002) that can be run as either an application or as a Windows Service.
The problem we are facing is that when running as an application, the
server can handle 15+ connection attempts at relatively the same time.
When the program is run as a Service, however, it can't seem to handle
more than 4 at a time...We end up having to throttle the incoming
connections in order...
|
by: hb |
last post by:
Hi,
In my ASP.Net application 'MyWebApp' , the mode="StateServer" in
<sessionState>
of Web.config file, and the ASP.NET State Service is set to start
automatically on the
server. But every time when I update the application's MyWebApp.dll file in
\bin folder
by simply uploading a new MyWebApp.dll file to override the old one in the
same folder,
| |
by: rhaazy |
last post by:
I am attempting to use the Application Updater block so that I can have
my
..net windows forms application automatically update when a new version
is
available.
I have deployed version 1.0.0.0 to the user machine.
I have created version 1.0.0.1, and put this on the update server
I am trying to build a self updating application (started using the
|
by: Rudy |
last post by:
Hello all!
I'm working in vb/ado.net I want to to have a message box pop up based on a
result of a update on a SQL table. How do I do that so it automaticly pops
up after the update is performed?
Also, is there a way to put in a variable in the message box base on the
results of the Update?
TIA!!
|
by: tedqn |
last post by:
I have simple vb application that loops through a list of filename and
perform a System.IO.File.Copy from one server to another. I have a
readonly textbox where I append messages showing what's going on. ie.
Processing ..
Copy \\Server1\file1 to \\Server2\file1 ... Done
Copy \\Server1\file2 to \\Server2\file2 ...
The copy process is slow for each file copy and the TextBox doesn't
show the messages until the whole program finished...
|
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= |
last post by:
Hi all,
I have a publishing Click Once of my application.
Now I want create new version of my application for modify some files, like
app.config.
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |