Hi everyone,
I'm back with another problem,
Let's say I'm trying to have a program that will check for a version.txt file online, and enable the user to download a new version of my .exe.
Here is an example of how i get the new version. I apologize for the old syntax, but i just got out of VB6 and am still learning FileStream, etc. Inetconnection is just a function similar to Webclient.DownloadData.
So, Is there a way for me to update the exe while keeping the My.settings? Or just somehow transfer them to the new exe?Code:DABytes = InetConnection(Pathy) Targetfolder = Application.StartupPath & "DA.exe" foldera = FreeFile() FileOpen(foldera, Targetfolder, OpenMode.Binary) FilePut(foldera, DABytes) FileClose(foldera)




Reply With Quote