Webbrowser control + ActiveX
-
Hi, Is it possible to enable/allow ActiveX controls inside my webbrowser control (CHtmlView). Please do not say it is not possible! :-( :-( Niki PS: Background: I'm writing a database application where data is stored in html format. There are also popups (similar to the old WinHelp32) which are implemented using JavaScript (or similar things; these scripts are not written by me). When I open such a HTML file directly in IE I get the security warning (even when all files are local). In my webbrowser control I even do not get a warning but only script errors.
-
Hi, Is it possible to enable/allow ActiveX controls inside my webbrowser control (CHtmlView). Please do not say it is not possible! :-( :-( Niki PS: Background: I'm writing a database application where data is stored in html format. There are also popups (similar to the old WinHelp32) which are implemented using JavaScript (or similar things; these scripts are not written by me). When I open such a HTML file directly in IE I get the security warning (even when all files are local). In my webbrowser control I even do not get a warning but only script errors.
I have found CoInternetSetFeatureEnabled. But nothing changes :-( I have already set FEATURE_WEBOC_POPUPMANAGEMENT, FEATURE_SECURITYBAND, FEATURE_LOCALMACHINE_LOCKDOWN, FEATURE_RESTRICT_ACTIVEXINSTALL. But nothing changes :( I again get a script error with "Permission denied" :(
-
I have found CoInternetSetFeatureEnabled. But nothing changes :-( I have already set FEATURE_WEBOC_POPUPMANAGEMENT, FEATURE_SECURITYBAND, FEATURE_LOCALMACHINE_LOCKDOWN, FEATURE_RESTRICT_ACTIVEXINSTALL. But nothing changes :( I again get a script error with "Permission denied" :(
The problem was not the browser control itself but my async pluggable protocol! I missed to handle PARSE_SECURE_URL for the secure manager so two different URLs in my protocol were essentially in a different domain. So I got "permission denied"-messages when accessing different frames (cross frame scripting prevention) Regards, Niki