Click here to Skip to main content
15,921,884 members
Home / Discussions / C#
   

C#

 
AnswerRe: collection Pin
Colin Angus Mackay30-Apr-07 3:58
Colin Angus Mackay30-Apr-07 3:58 
GeneralRe: collection Pin
arkiboys30-Apr-07 4:02
arkiboys30-Apr-07 4:02 
GeneralRe: collection Pin
Colin Angus Mackay30-Apr-07 4:39
Colin Angus Mackay30-Apr-07 4:39 
GeneralRe: collection Pin
arkiboys30-Apr-07 4:04
arkiboys30-Apr-07 4:04 
AnswerRe: collection Pin
Karthik Kalyanasundaram30-Apr-07 4:05
Karthik Kalyanasundaram30-Apr-07 4:05 
GeneralRe: collection Pin
arkiboys30-Apr-07 4:06
arkiboys30-Apr-07 4:06 
GeneralRe: collection Pin
Pete O'Hanlon30-Apr-07 22:19
mvePete O'Hanlon30-Apr-07 22:19 
Questionproblem in software updation of the application manually Pin
praveenkumar palla30-Apr-07 3:46
praveenkumar palla30-Apr-07 3:46 
i want to do software updation for the application, i.e., when click Update button , if there is any new version is available it should update automatically, if there is no new version is available it should prompt a msg like " There is no newer version to update"

for this i tried with the following code

private void Updates_click(object sender, EventArgs e)
{
if (ApplicationDeployment.IsNetworkDeployed)
{
ApplicationDeployment CurrentDeploy = ApplicationDeployment.CurrentDeployment;
if (CurrentDeploy.CheckForUpdate())
{
CurrentDeploy.Update();
DialogResult dr = MessageBox.Show("Update Downloaded,Restart the Application", "Application Update", MessageBoxButtons.YesNo);
if (dr == DialogResult.Yes)
{
Application.Restart();
}
}
}
else
{
MessageBox.Show("No Updates are available", "UpDate Info");
}
}


but it is working fine for some applications but for my application it is not working.



Please Help me on this(is there any other methods to fullfil my requirement)

Thanks in advance


Praveenkumar Palla
AnswerRe: problem in software updation of the application manually Pin
Judah Gabriel Himango30-Apr-07 3:53
sponsorJudah Gabriel Himango30-Apr-07 3:53 
GeneralRe: problem in software updation of the application manually Pin
praveenkumar palla30-Apr-07 4:10
praveenkumar palla30-Apr-07 4:10 
GeneralRe: problem in software updation of the application manually Pin
Judah Gabriel Himango30-Apr-07 7:06
sponsorJudah Gabriel Himango30-Apr-07 7:06 
AnswerRe: problem in software updation of the application manually Pin
kubben30-Apr-07 4:08
kubben30-Apr-07 4:08 
GeneralRe: problem in software updation of the application manually Pin
praveenkumar palla30-Apr-07 19:40
praveenkumar palla30-Apr-07 19:40 
Questionhow to create video conference in asp.net Pin
nimeshpatelmca30-Apr-07 3:30
nimeshpatelmca30-Apr-07 3:30 
QuestionResolution Independent Desktop Application Pin
wasife30-Apr-07 3:11
wasife30-Apr-07 3:11 
Generalmap overlay of dynamic objects Pin
Mazumdar30-Apr-07 2:57
Mazumdar30-Apr-07 2:57 
GeneralRe: map overlay of dynamic objects Pin
Colin Angus Mackay30-Apr-07 3:20
Colin Angus Mackay30-Apr-07 3:20 
GeneralRe: map overlay of dynamic objects Pin
Pete O'Hanlon30-Apr-07 3:36
mvePete O'Hanlon30-Apr-07 3:36 
QuestionRefreshing DataGridView Pin
tempmail130-Apr-07 2:29
tempmail130-Apr-07 2:29 
AnswerRe: Refreshing DataGridView Pin
Seishin#30-Apr-07 3:19
Seishin#30-Apr-07 3:19 
Questionprogramming Pin
TifTif87330-Apr-07 2:17
TifTif87330-Apr-07 2:17 
AnswerRe: programming Pin
Guffa30-Apr-07 2:32
Guffa30-Apr-07 2:32 
GeneralRe: programming Pin
TifTif87330-Apr-07 2:34
TifTif87330-Apr-07 2:34 
GeneralRe: programming Pin
Pete O'Hanlon30-Apr-07 3:29
mvePete O'Hanlon30-Apr-07 3:29 
GeneralRe: programming Pin
marky77730-Apr-07 4:06
marky77730-Apr-07 4:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.