|
-
Sep 22nd, 2005, 08:53 PM
#1
Thread Starter
Hyperactive Member
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.
-
Sep 22nd, 2005, 08:57 PM
#2
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"
-
Sep 22nd, 2005, 08:58 PM
#3
Thread Starter
Hyperactive Member
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.
-
Sep 22nd, 2005, 08:59 PM
#4
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
-
Sep 22nd, 2005, 09:07 PM
#5
Thread Starter
Hyperactive Member
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.
-
Sep 22nd, 2005, 09:24 PM
#6
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).
-
Sep 22nd, 2005, 09:28 PM
#7
Thread Starter
Hyperactive Member
Re: Webbrowser Question.......
Ok thanks, but i have no idea what im looking for....
You win some, you lose some.
-
Sep 22nd, 2005, 09:44 PM
#8
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
-
Sep 22nd, 2005, 09:50 PM
#9
Thread Starter
Hyperactive Member
Re: Webbrowser Question.......
Nope, no advanced options in the registry for IE....
You win some, you lose some.
-
Sep 23rd, 2005, 12:15 AM
#10
Re: Webbrowser Question.......
Set your WebBrowser's .Silent property to True and .RegisterAsBrowser to False.
-
Sep 24th, 2005, 11:44 PM
#11
Thread Starter
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|