![]() |
|
[.NET] Update _ Download. Checking for updates and Downloading the program. - VB.NET - 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] Update _ Download. Checking for updates and Downloading the program. - VB.NET (/showthread.php?tid=4998203) |
Update _ Download. Checking for updates and Downloading the program. - VB.NET - iRuSTecH - Sep 23, 2015 Hello guys 😉🤗 I will share one code that checks for updates and one for program downloading, if a new version found. ( WARNING : This Code Works Under Visual Studio 2015. Leave A Reply If You Have An Error ) Check For Updates CODE : Code '' 'Paste this code in Check For Updates button'Code '' 'Paste this in the top of the source code'About the link : Im using textuploader .com to upload a text with the version and direct download link. So simply is going like textuploader .com/blabla/raw For direct download link im using Ozibox. About the code : If you have a check for updates program then you can just put the download code after the 'MsgBoxResult.Yes Then' of the check for updates code. Make sure you have the first program close or add a proc kill code. Yeah 😁 Greetings from MadnessForCrack™
* - SIM-1984933 - Sep 23, 2015 before i even clicked on the thread i already had this coded in my head almost the exact way but i use dropbox or GDrive. good job OP keep learning. * - He B TeMy - Sep 23, 2015 (Sep 23, 2015 05:48 PM)Hex() Wrote: before i even clicked on the thread i already had this coded in my head almost the exact way but i use dropbox or GDrive. good job OP keep learning. You can get direct links on gDrive? that's new. * - SaketSaket - Sep 24, 2015 Nice share... But i think you are still using old msgbox function... for .net 3.5 framework & above you should use messagebox.show ;) * - SIM-1984933 - Sep 24, 2015 (Sep 23, 2015 07:02 PM)He B TeMy Wrote: You can get direct links on gDrive? that's new.i've never done it from gDrive but my friend allegedly says he uses it in place of dropbox * - SIM-1456245 - Sep 25, 2015 I mean it's nice and all, but can be rewritten in something like 10 lines max total. First of all, you can just use a webclient to download a string, and secondly you don't need to create an external process, I mean not a separate custom app. You can just start cmd, and make it kill & delete the current version and rename & start the new version. And last, but certainly not least, dispose your objects aka wrap them in using statements. * - ttyler333 - Sep 25, 2015 I like this due to the fact, I would use it. While yes the checker could be shortened a bit; it works and can also incorporate settings into this. * - nathan72389 - Sep 25, 2015 * nathan72389 inhales, exhales.... ok, why on earth would you use a second application to update your program when you can not even pass it command line variables? your killing yourself right there. look another "super duper updater" thread. guess what, there will be another coma along in 2 weeks with the same code. ..check string ...download app there is nothing new here, just look back a few weeks. this is the same concept that they teach you in 101 type stuff. wow O, now you know how to compare a sting and if string A is different than string B do C. * - iRuSTecH - Sep 26, 2015 (Sep 25, 2015 12:56 PM)nathan72389 Wrote: * nathan72389 inhales, exhales.... iRuSTecH inhales, exhales.... Stop hating (start loving and helping) and i don't give a funk if you can program better than me. Thanks ! ~ :) Ow before some weeks i was no here. Also nathan72389. Think, write and paste a better code down here if you are pro :) When other do it. We improve it 'Team Reis' ! This code it's not mine i just improve it about 3 years ago !!! ALSO GUYS DON'T WAIT FROM PEOPLE TO SHARE HIS FULL CODES ! WE JUST SHARE SOMETHING THAT WORKS ! (Sep 25, 2015 10:33 AM)Electroalek Wrote: I mean it's nice and all, but can be rewritten in something like 10 lines max total. First of all, you can just use a webclient to download a string, and secondly you don't need to create an external process, I mean not a separate custom app. You can just start cmd, and make it kill & delete the current version and rename & start the new version. And last, but certainly not least, dispose your objects aka wrap them in using statements. Sorry but i NAMED the post "VB.NET" so this will have ONLY VB CODE VB VB VB. NO CMD '.BAT' JAR PEARL OR WHATEVER. Thanks. * - SIM-1456245 - Sep 27, 2015 (Sep 26, 2015 11:41 AM)iRuSTecH Wrote: iRuSTecH inhales, exhales.... I'm just telling you how it's supposed to be done, and you can do it however you want to. * - iRuSTecH - Sep 29, 2015 Of course and thanks. But i'm doing it with the vb way. This works so i don't care a lot RE: Update _ Download. Checking for updates and Downloading the program. - VB.NET - InterGalactic - Aug 27, 2018 Great release. I use the same code |