Results 1 to 3 of 3

Thread: [RESOLVED] loading a webpage without images using webbrowser control

  1. #1

    Thread Starter
    Frenzied Member litlewiki's Avatar
    Join Date
    Dec 2005
    Location
    Zeta Reticuli Distro:Ubuntu Fiesty
    Posts
    1,162

    Resolved [RESOLVED] loading a webpage without images using webbrowser control

    hey ppl
    is it possible to load a webpage in the webbrowser control without the images as iam interested in the source of the page.also that would load the page faster

    iam using the following code
    Code:
    WebBrowser1.Navigate2 "webpage"
    thanks in advance

  2. #2
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Re: loading a webpage without images using webbrowser control

    If you change,
    HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Display Inline Images
    value to "no", webbrowse will not display the images. But it will effect all new instances of internet explorer.

    To get rid of this problem, I wrote this code to remove images from DOM just after loading the page. I hope it will help you.

    As you are interested in just source of the file, you may consider using URLDownloadToFile API.
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


  3. #3
    Addicted Member
    Join Date
    Mar 2006
    Posts
    186

    Re: loading a webpage without images using webbrowser control

    I had the same problem. Not any more: http://www.vbforums.com/showthread.php?t=399434

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