473,506 Members | 16,970 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Detecting a script error in a browser object.

Is there any way to detect if there is an error in a script for a page
through the browser object? Or at least turn it off? I know I can set it
through IE but was wondering if I can do it programtically for my object.

TIA - Jeff.
May 23 '07 #1
2 1310
For IE, see if this can help you:

http://msdn2.microsoft.com/en-us/library/ms536930.aspx

"Mufasa" wrote:
Is there any way to detect if there is an error in a script for a page
through the browser object? Or at least turn it off? I know I can set it
through IE but was wondering if I can do it programtically for my object.

TIA - Jeff.
May 23 '07 #2
Thanks. But I need to be doing it from the browser object not the browser.
I've got a program that has a browser object in it and loads web pages
(which aren't under my control) and sometimes I get script errors because
somebody did something stupid. I'm just looking for a way to hide the popup.

TIA - Jeff.

"Siva M" <sh******@online.excite.comwrote in message
news:2B**********************************@microsof t.com...
For IE, see if this can help you:

http://msdn2.microsoft.com/en-us/library/ms536930.aspx

"Mufasa" wrote:
>Is there any way to detect if there is an error in a script for a page
through the browser object? Or at least turn it off? I know I can set it
through IE but was wondering if I can do it programtically for my object.

TIA - Jeff.

May 23 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
4094
by: Frances Del Rio | last post by:
pls, why is this not working? <SCRIPT language=JavaScript type="text/javascript"> var br = '<SCRIPT language=Javascript' br += 'src="js_pop.js" type="text/javascript">' br += '</SCRIPT>' var...
11
2806
by: Wentink | last post by:
Does anybody have a simple script that let's me popup a picture from a thumbnail? The ones i found are all very very complicated and messy in the source... Thanks, Tintin
4
2241
by: Hal | last post by:
Can someone please tell me what is wrong with this script? <script language="JavaScript"> <!-- function HF_CloseAllChildren() { if (g_win1) != undefined { if ((g_win1) && !(g_win1.closed))...
2
1517
by: Sergey Poberezovskiy | last post by:
Hi, Simple question: I developed an ASP.Net application that runs under IE. Now for all other browsers I display a message that the application runs under IE: If Not...
3
3597
by: regtrashcan | last post by:
I have a webpage that detects whether Shockwave Player is installed and the version number. The javascript/vbscript that I use has worked fine until the latest release of the Shockwave Player. I am...
79
3706
by: VK | last post by:
I wandering about the common proctice of some UA's producers to spoof the UA string to pretend to be another browser (most often IE). Shouldn't it be considered as a trademark violation of the...
3
1328
by: Grzegorz Klimsa | last post by:
Hello I have problem with ASP.NET in C# language. I prepare two files of css style, one for ie ,second for firefox I want to set css style file depends on browser type I know how pull out...
1
4138
by: Grzegorz Klimsa | last post by:
Hi ! I have a problem wiht detecting resolution of client web browser I prepare several files of css style for different browsers and different resolutions, (such as : Style_1024x768.css ;...
15
4192
by: RobG | last post by:
When using createEvent, an eventType parameter must be provided as an argument. This can be one of those specified in DOM 2 or 3 Events, or it might be a proprietary eventType. My problem is...
0
7218
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7370
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7021
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7478
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4701
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3188
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3177
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1532
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
755
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.