Results 1 to 11 of 11

Thread: Webbrowser Question.......

  1. #1

    Thread Starter
    Hyperactive Member psycopatchet69's Avatar
    Join Date
    Sep 2004
    Location
    Grand Rapids, MI
    Posts
    256

    Webbrowser Question.......

    Ok, so im almost done with a program i am making including a webbrowser. One thing that annoys me about the webbrowser control is the "Error running scripts on page, do you want to continue?" Pop-up dialog. How can i disable this or automatically make it submit the "Yes" Option?
    You win some, you lose some.

  2. #2
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Re: Webbrowser Question.......

    i think that is a setting for IE. Tools>options>Advanced tab in the browser settings.

    not sure how youwould programatically change it though.
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  3. #3

    Thread Starter
    Hyperactive Member psycopatchet69's Avatar
    Join Date
    Sep 2004
    Location
    Grand Rapids, MI
    Posts
    256

    Re: Webbrowser Question.......

    Yeah, thats what i need, to change it globally for the computer, or just in the program.
    You win some, you lose some.

  4. #4
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: Webbrowser Question.......

    The setting is probably kept in the registry. Try finding it under:

    HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer

    or

    HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer

  5. #5

    Thread Starter
    Hyperactive Member psycopatchet69's Avatar
    Join Date
    Sep 2004
    Location
    Grand Rapids, MI
    Posts
    256

    Re: Webbrowser Question.......

    Ok, im sorry for being hard, but I dont even know how to manipulate registry keys in Visual Basic, Ive never had the need for it.
    You win some, you lose some.

  6. #6
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: Webbrowser Question.......

    open the registry editor (Run -> Regedit), then look through those keys to find what you need. After that you can use the search (http://www.vbforums.com/search.php?) to find what you need on manipulating the registry (it has been covered many times, there is a module available here which gives you all the functions you need, you just call them).

  7. #7

    Thread Starter
    Hyperactive Member psycopatchet69's Avatar
    Join Date
    Sep 2004
    Location
    Grand Rapids, MI
    Posts
    256

    Re: Webbrowser Question.......

    Ok thanks, but i have no idea what im looking for....
    You win some, you lose some.

  8. #8
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: Webbrowser Question.......

    Try looking here, these should be the settings for script error reporting:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AdvancedOptions\BROWSE\SCRIPT_ERROR_CACHE

  9. #9

    Thread Starter
    Hyperactive Member psycopatchet69's Avatar
    Join Date
    Sep 2004
    Location
    Grand Rapids, MI
    Posts
    256

    Re: Webbrowser Question.......

    Nope, no advanced options in the registry for IE....
    You win some, you lose some.

  10. #10
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Webbrowser Question.......

    Set your WebBrowser's .Silent property to True and .RegisterAsBrowser to False.

  11. #11

    Thread Starter
    Hyperactive Member psycopatchet69's Avatar
    Join Date
    Sep 2004
    Location
    Grand Rapids, MI
    Posts
    256

    Re: Webbrowser Question.......

    Thank you! Thats very simple.
    You win some, you lose some.

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