Results 1 to 2 of 2

Thread: [RESOLVED] Downloading new version while keeping old My.settings

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2010
    Posts
    164

    Resolved [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?

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Aug 2010
    Posts
    164

    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
  •  



Click Here to Expand Forum to Full Width