Results 1 to 7 of 7

Thread: How to start version upgrade download for my application?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2005
    Posts
    1,907

    Arrow How to start version upgrade download for my application?

    Hi all . I created an visual basic application and once user loads it it prompts them if they using older version and ask them if they want to upgrade or not. If they ask yes i want my application to start download a new upgrade file from a remote website just like pic below .I do not know how i can achive that so i be happy if an expert show me how i can do it in with my vb6 app.Thanks



  2. #2
    Super Moderator RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,713

    Re: How to start version upgrade download for my application?

    Wokawidget wrote an app like what you want in VB6 CodeBannk.

    http://www.vbforums.com/showthread.php?t=319226
    Last edited by RobDog888; Apr 19th, 2006 at 07:22 PM.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2005
    Posts
    1,907

    Talking Re: How to start version upgrade download for my application?

    Quote Originally Posted by RobDog888
    [coilor=navy]Wokawidget wrote an app like what you want in VB6 CodeBannk.

    http://www.vbforums.com/showthread.php?t=319226[/color]

    Thank u for the link but unfortunetly i could not run it. I get few errors posing it in the following link :

    Code:
    http://www.vbforums.com/showpost.php?p=2435680&postcount=51

    I am looking for some thing more simple just like above pic. i hope some one help me.Thanks

  4. #4

  5. #5
    Super Moderator RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,713

    Re: How to start version upgrade download for my application?

    Basically if you want to autoupdate you need to ...

    Compare the local exe to the available download.
    Download the new exe to the local system if needed.
    Figure out a way to replace a currently running exe with the new version.

    So you see its really that simple but for a single exe file to update its not impossible either.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  6. #6

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2005
    Posts
    1,907

    Re: How to start version upgrade download for my application?

    Quote Originally Posted by RobDog888
    Basically if you want to autoupdate you need to ...

    Compare the local exe to the available download.
    Download the new exe to the local system if needed.
    Figure out a way to replace a currently running exe with the new version.

    So you see its really that simple but for a single exe file to update its not impossible either.
    i already know how to check for version but i do not how to start download the file and attach to it prograss bar once the file finished download i want the program to close and setup starts!

  7. #7
    Super Moderator RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,713

    Re: How to start version upgrade download for my application?

    I dont have vb on this system but I believe its an API called DownloadFileFromURL. If thats too much for you then you can always use the Inet control to download the file.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

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