Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > turn off script execution mshtml WebBroswer?

Thread Tools

turn off script execution mshtml WebBroswer?

Posts: n/a
I'm rendering bitmaps from web pages server-side and one thing I want to do
to increase security and stability is to tell WebBrowser to *not* execute
any scripts, not just suppress the error messages. For some reason I can't
find anything on how to do this and I'm worried that it's not possible -
which, quite frankly, would really surprise me. Is that possible?

I'm also looking for an alternative to WebBrowser since all requests for it
have to execute sequentially on a STA thread which isn't exactly scalable
(under load WebBrowser isn't perfectly stable, either). We currently take
bitmaps snapshots of both entire pages and specific selected elements within
pages, so whatever alternative needs to be able to not only render a
picture, but return the parsed elements with their bounding boxes.


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How Do I Turn Java Script Off? Russ Computer Support 5 09-14-2009 08:47 PM
Viewstate wont turn off even after setting it to off ! robert112 ASP .Net 1 04-26-2007 01:51 AM
How to turn off "Caps Lock" from Perl script. katera Perl Misc 9 04-09-2007 02:50 AM
problem with mshtml.IHTMLInputFileElement Balu ASP .Net 0 07-24-2005 07:45 AM
MSHTML Mathew George ASP .Net 1 07-25-2003 06:25 PM