1 Replies - 150 Views - Last Post: 07 February 2012 - 08:23 AM Rate Topic: -----

Topic Sponsor:

#1 camco  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 11-May 10

Webrowser vb.net

Posted 07 February 2012 - 05:15 AM

Hello everyone,

I tried to create a webBrowser via Visual Basic with WebBrowser component.
It is working good but I have an error to some web pages like "www.optisoft.gr".
Others works fine like "www.google.gr".

The error is:
There was an error in the script of this page
Line:60
Character:28
Error: Syntax error
Code:0
URL: http://www.optisoft.gr/
Want to continue running script on this page?

Please help me to fix this specific error.
Thank you in advance.

Konstantinos Kamaras

Is This A Good Question/Topic? 0
  • +

Replies To: Webrowser vb.net

#2 trevster344  Icon User is online

  • Slick.
  • member icon

Reputation: 124
  • View blog
  • Posts: 873
  • Joined: 16-March 11

Re: Webrowser vb.net

Posted 07 February 2012 - 08:23 AM

There is a property of the web browser control which will ignore errors like script messages and not display them, you can set that to true it's called ScriptErrorsSuppressed. That should do the trick. :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1