Results 1 to 40 of 70

Thread: LiveUpdate. Downloads from web and updates multiple client files.

Threaded View

  1. #11
    Addicted Member adamm83's Avatar
    Join Date
    Oct 2005
    Location
    Toronto, ON, Canada
    Posts
    180

    Re: LiveUpdate. Downloads from web and updates multiple client files.

    Hey Woka,

    I've been testing out the liveupdate and I have run into some problems:

    1) Whenever I set the .SaveTo path to a subfolder of a drive, or any folder OTHER THAN the root path of a drive, I get a path not found error.

    2) I have made a folder on my server (at {link removed}). This folder contains Updates.txt, with the necessary information in it, as well as 2 exe files that i would like to download in the liveupdate (which are referenced in the Updates.txt file. When I run the liveupdate, it seems to find the Updates.txt file properly, but doesnt seem to download anything, and it finishes with a successful message. No downloads though.

    This is the code I changed in the liveupdate demo source you supplied with the zip file:

    Form_load event:
    VB Code:
    1. Private Sub Form_Load()
    2.     Set mobjLiveUpdate = New LiveUpdate
    3.     mobjLiveUpdate.server = "www.acmdesigns.ca"
    4.     mobjLiveUpdate.RemotePath = "clients/sss_lu/"
    5.     mobjLiveUpdate.SaveTo = "C:\"
    6. End Sub

    AddProducts sub routine:
    VB Code:
    1. Private Sub AddProducts()
    2. Dim x As Integer
    3. Dim arrProducts() As String
    4. x = 1
    5.  
    6.     With mobjLiveUpdate.Products
    7.         .Clear
    8.         Do Until GetSetting("TrinityScheduler", "LiveUpdate", x) = ""
    9.             'arrProducts = Nothing
    10.             arrProducts = Split(GetSetting("TrinityScheduler", "LiveUpdate", x), ";")
    11.             .Add arrProducts(0), arrProducts(1), arrProducts(2)
    12.             x = x + 1
    13.         Loop
    14.     End With
    15.    
    16. End Sub


    The rest is the same as the demoUI code from the example vb project you made.

    Any help would be appreciated! Thanks.
    Last edited by adamm83; Jul 14th, 2006 at 01:28 PM.
    adamm
    ACM Designs

    Codebank:
    RegOpen - Open registry keys in Regedit quick & easily


    "A man who tries to catch two rabbits at the same time will catch neither."

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