![]() |
|
[.NET] [Simple] Updating System For Your Application - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] [Simple] Updating System For Your Application (/showthread.php?tid=360824) |
[Simple] Updating System For Your Application - The-One - Apr 10, 2010 Okey, im posting this simple updating system I made. What are we going to use?
Ok, in your program put: Under Class Form1 Code Dim Version As String = "1.0"Form1.Load Code Label1.text = VersionNext, we need a host for our file, which we use, to upload the .exe and see if theres a update. Upload a text file to your host with ONLY 2.0 in it. Now lets check for a update. Form1.Load // Buton1 Code Dim NewVersion As StringOk, so now it checks if there is a update, you will need to update the text file every time you upload a new update. Now lets make it download Button2 Code Dim Webc As New WebclientI fully wrote this myself, enjoy. * - xFic - Apr 10, 2010 This will come in handy, thanks. * - jaBBatheHuTT - Apr 10, 2010 Nice work dude :D <tooshort> * - The-One - Apr 10, 2010 Glad you both liked it :) * - codepoet - Apr 30, 2010 very handy....will add it to my next project * - REVZ - May 8, 2010 Great tut. Was searching for this. * - The-One - May 8, 2010 (May 8, 2010 02:12 AM)RevZx Wrote: Great tut. Was searching for this. No problem :) * - Grieve⢠- May 8, 2010 Nice work man! 2short * - The-One - May 8, 2010 (May 8, 2010 04:29 AM)G.LonGas Wrote: Nice work man! Enjoy it :) |