CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2005
    Posts
    78

    Question Disable image file download in CHTMLView

    I know its possible to switch off image download, disable scripts etc from within the internet options although this is then applied to all browser sessions.

    What i would like to do is disable image download for a particular instance of CHTMLview, is this possible?

    Problem is just want to copy some text from certain webpages within an application, but wasting alot of time for the page to fully download because of dependency files likes images etc.

    Any ideas greatly appreciated.

  2. #2
    Join Date
    Apr 2000
    Location
    Belgium (Europe)
    Posts
    4,626

    Re: Disable image file download in CHTMLView

    You don't need to display the text to get the HTML. You can use CInternet::OpenURL() to read a HTML file directly without havign to display it in a control.

  3. #3
    Join Date
    Apr 2005
    Posts
    78

    Question Re: Disable image file download in CHTMLView

    Quote Originally Posted by OReubens View Post
    You don't need to display the text to get the HTML. You can use CInternet::OpenURL() to read a HTML file directly without havign to display it in a control.

    Yes this is true im already doing that in a different context.

    But in this context i need to display the webpage. Again, Is there anyway i can instruct the browser control to not download dependency files?

Tags for this Thread

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

Featured