|
-
Aug 9th, 2011, 09:56 PM
#1
Thread Starter
Addicted Member
[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?
-
Aug 10th, 2011, 07:41 PM
#2
Thread Starter
Addicted Member
Re: Downloading new version while keeping old My.settings
Nevermind.
For anyone out there still wondering, http://www.vbforums.com/showthread.php?t=612508
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|