forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


"Internet Explorer Script Error" - in VDS Browser

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Sun Sep 12, 2004 6:19 pm    Post subject: "Internet Explorer Script Error" - in VDS Browser Reply with quote

VDS 5 Browser Element displays the IE error dialog box for every javascript error. Is it possible to supress it like in IE without disabling javascript ?
_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Sun Sep 12, 2004 7:03 pm    Post subject: Reply with quote

If you display pages you made yourself, you can use the code below to disable the errormessages:

Code:
<body onError="return false;">

_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Mon Sep 13, 2004 5:01 pm    Post subject: Reply with quote

Thanks skit but if that was the case then I would have avoided the errors itself in the first place Wink
Hope we get some thing in the dll itself Idea :! Question

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Mon Sep 13, 2004 5:37 pm    Post subject: Reply with quote

Try something like this: Smile

Code:
dialog set,browser1,"javascript:window.onerror=return false;"


Source: http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/events/onerror.asp

_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
trapper
Contributor
Contributor


Joined: 28 Jan 2005
Posts: 112
Location: Brisbane, Australia

PostPosted: Thu Jul 13, 2006 9:07 pm    Post subject: Reply with quote

Skit... I've found that it doesn't work, nor does "return true" which is probably more to the point of what I want to do.

Has anyone been able to overcome this problem?

_________________
John Trappett
Back to top
View user's profile Send private message
JRoza
Contributor
Contributor


Joined: 17 Aug 2003
Posts: 182
Location: Netherlands

PostPosted: Fri Jul 14, 2006 2:31 pm    Post subject: Reply with quote

Have you tried vdssurfx.dll?
My experience is that this dll does things a bit better than vds's own browser on many occasions.
Maybe it spares you from more headaches Smile)
And if not ...... nothing gained nothing lost.

Very Happy
Jan
Back to top
View user's profile Send private message Visit poster's website
trapper
Contributor
Contributor


Joined: 28 Jan 2005
Posts: 112
Location: Brisbane, Australia

PostPosted: Fri Jul 14, 2006 8:41 pm    Post subject: Reply with quote

JRoza wrote:
Have you tried vdssurfx.dll?
My experience is that this dll does things a bit better than vds's own browser on many occasions.
Maybe it spares you from more headaches Smile)
And if not ...... nothing gained nothing lost.

Yep... tried it, same problem. I assume because it's using the same older browser control. I wonder if it can be compiled simply with a later browser control, or is it more complex than that?

Cheers...

_________________
John Trappett
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group