Results 1 to 2 of 2

Thread: HTML download interrupted

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Location
    Stockholm
    Posts
    1
    I need help with this problem:
    I'm using the OpenURL method to download a web page.
    Some pages arrive complete, while others are incomplete.
    In these cases I get Status 9 (=The control is disconnecting from the host computer).
    How do I get the whole page loaded or continue loading?
    Any help is appreciated.

  2. #2
    Guest
    Take a look at my thread from a while ago which Chris answered on how to get the HTML Source using MSInet.

    A better way which is most likely to always work is get the source using the ShDocVw.dll (Webbrowser) Control.

    Code:
    Text1.Text = Webbrowser1.Document.documentElement.innerHTML
    It doesn't put in the <html></html> tags, but you can always add them yourself.

    Code:
    Text1.text = "<HTML>" & Chr$(13) & Chr$(10) & Webbrowser1.Document.documentElement.innerHTML & Chr$(13) & Chr$(10) & "</HTML>"

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