[RESOLVED] Downloading new version while keeping old My.settings
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.
Code:
DABytes = InetConnection(Pathy)
Targetfolder = Application.StartupPath & "DA.exe"
foldera = FreeFile()
FileOpen(foldera, Targetfolder, OpenMode.Binary)
FilePut(foldera, DABytes)
FileClose(foldera)
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?
Re: Downloading new version while keeping old My.settings
Nevermind.
For anyone out there still wondering, http://www.vbforums.com/showthread.php?t=612508