Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

VB6, WebBrowser control, JavaScript, and security levels

Posted on 2003-12-01
2
Medium Priority
?
627 Views
Last Modified: 2013-12-25
I am working on a proof-of-concept that involves using the WebBrowser control (SHDOCVW.DLL) to view an html file containing some JavaScript.  If I Disable "Active Scripting" under my Internet Explorer Security settings, expectedly, my VB shows the html code but halts JavaScript execution.

My question: Is JavaScript embedded in a WebBrowser control feasible for a commercial application?  My fear is that because the WebBrowser control appears to inherit IE security settings, the JavaScript execution will be a hit-or-miss dependent upon how each personal computer is configured.  Is it possible to override these settings?  If not, then I cannot utilize this technique.  Could someone please elaborate on this topic?

Thanks!
0
Comment
Question by:afterthought
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 585 total points
ID: 9858363
I am not sure, but this might help:

SAMPLE: Secumgr.exe Overrides Security Manager for WebBrowser Host
http://support.microsoft.com/default.aspx?scid=kb;en-us;246227
0
 

Author Comment

by:afterthought
ID: 9860522
Not knowing C++, I had a difficult time following the code and really understanding what was taking place in the specified link.  This is not to say the answer won't be helpful to others.  I do believe this answers my question though in that there doesn't appear to be a simple way of overriding IE security settings.  I appreciate the assistance!
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question