I have been using Visual Studio for about 1 month now and program small apps with Visual Basic. Now I wanted to incorporate something into my program: The function should, when you click on it, search for a new version & display it as a download. However, I don't want to use the Visual Studio Updater that exists. Is there a possibility? I once saw with Minecraft Mods & Plugins that when starting the server on Github or so they look for new versions and display them as a link. Can someone help me?
When you click, you check your own version number against one on a server.
If it is more up-to-date on the server, download the new software, start it, and end yourself.
The new software then deletes the old version.
Thanks for the answer. How do I do that it checks a number on a server. Don't have an FTP server or anything. Is that also possible with something else? And how do I have to write this in Visual Basic that it checks?
You will need some kind of server.
Take a look at the HttpClient and remember to implement it as a singleton, otherwise you will have a memory leak.
The httpclient takes care of the requests for you, all you have to do is parse and compare them.
All you have to do is provide a simple text / HTML file on the server without any formatting or generate it on request.
Your program carries out a banal web request and receives an answer.
https://docs.microsoft.com/...etcore-3.1
https://docs.microsoft.com/...uest-class
It is no more difficult than opening a local text file…