5
Answers

How to check for update in c# ?

Photo of thiago costa

thiago costa

14y
3.8k
1
Hello there guys, thanks for reading...

I know that, there are features in VS2010 that allow this to happen...

But in my case, I would like to keep it simple and Manual...

For example... this is the situation I would like to create:

I want to have a .ini file that, will contain the last update text, for example   1.0

Then, when the program is executed, I want it to make a http connection, and compare the local .ini file, with the one on the http server...
if the number in the http server, is greater than the local one, it will download certain file... (update) ...




Thanks guys !!

Answers (5)

0
Photo of Dipen Lama
NA 331 195.9k 18y
Use Place holder control to place the user control dynamically.
Here is some lines:

    string userControlName = "UserControl1.ascx"; 
 
    Control control1 ;
    control1 = LoadControl( userControlName );
    placeHolderControl1.Controls.Clear();
    placeHolderControl1.Controls.Add( control1 );
 
Next Recommended Forum