Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello friends

I developed an application running at multiple locations. This application is downloaded from the web and get updated if it is there. Now what i want is
" the user comes to know as soon as new version is uploaded by a popup on there screen only if they are running the software"

NO Idea how to do it.

Help required.
Posted

If you're not already using it, use Click-Once deployment, and your software will automatically check the download location for a new version of the app. It will only do this when the app is run, and if a new version is available, it will notify the user and prompt them to download the new version. You don't have to do ANYTHING else in your code.
 
Share this answer
 
Comments
sachees123 21-Dec-11 6:35am    
Thnaks, I know and im alreday using this. But what my question is " what if the software is running and a update of version is uploaded and the location is in 100's. What all i do is to mail all of them that please update the software or should a pop up appears on all the machines informing them a new version is available please update. thats what i want to do. I hope you got my question
Ian A Davidson 6-Jun-13 3:48am    
It sounds to me as if John has answered your question. From a brief reading of ClickOnce deployment (http://msdn.microsoft.com/en-us/library/142dbbz4(v=vs.80).aspx) - I have never had the opportunity to use it yet myself - it sounds as if it does everything you want. You don't have to e-mail anyone, so I don't know what your comment is about.
Regards,
Ian.
i did create a CHAT APPLICATION using asp.net and incorporate it in c# application. Now one can give INFO anytime and it is visible to viewer.
 
Share this answer
 
string connectionString = "Data Source=f6;Initial Catalog=DemoCMS;Persist Security Info=True;User ID=sa;Password=123456";
using (SqlConnection connection = new SqlConnection(connectionString))
{
SqlCommand cmd = new SqlCommand();
cmd.CommandText = "INSERT INTO format_det (formet_name,description,type,subject) VALUES ('" + txtformat_nm.Text + "','" + txtdescriptionFormat.Text + "','" + txttype.Text + "','" + txtsubject.Text + "');";
cmd.CommandType = CommandType.Text;
cmd.Connection = connection;
connection.Open();
cmd.ExecuteNonQuery();
}
MessageBox.Show("Success Insert");
fillGridFormat();
 
Share this answer
 
Comments
CHill60 6-Jun-13 9:39am    
This post is over a year old and your "solution" doesn't appear to be in any way related to it

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900