Progress Bar on Download

Just looking for links or guidance with using the Winsock controller to download a file, and update the progress on the progressbar.

LVL 14
Who is Participating?
Hitesh ManglaniCommented:
Hitesh ManglaniCommented:
Please delete the following code from the UserForm code and then the code will run fine
' lock the window update to avoid flickering
    SendMessageLong hwnd, WM_SETREDRAW, False, &O0

    ' clear the treeview
        hItem = SendMessageLong(hwnd, TVM_GETNEXTITEM, TVGN_ROOT, 0)
        If hItem <= 0 Then Exit Do
        SendMessageLong hwnd, TVM_DELETEITEM, &O0, hItem
    ' unlock the window
    SendMessageLong hwnd, WM_SETREDRAW, True, &O0
End Sub
Hitesh ManglaniCommented:
sorry posted for wrong question
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.