Running activex components

  • Thread starter Ranjit Somanathan
  • Start date
R

Ranjit Somanathan

Hi,

i am invoking an activex component through the javascript
part of an HTML page. The function is invoked in the body
tag (onload). When the activex invocation part in
encountered, the browser displays a warning message "An
activex control on tis page might be unsafe to interact
with other parts of the page. Do you want to allow this
interaction?". Is there any way to suppress this dialog
box? I have tried reducing the security settings of the
browser, but the problem persists.Can anyone provide a
solution to this?

Regards
 
B

bg

Put the following two keys in the "Implemented Categories" key of whatever
ActiveX Control you're trying to use.
{7DD95801-9882-11CF-9FA9-00AA006C42C4}
{7DD95802-9882-11CF-9FA9-00AA006C42C4}

For example, I was doing the same thing with the FileSystemObject
{0D43FE01-F093-11CF-8940-00A0C9054228}. The following .reg file put the
appropriate entries in my registry and now it runs without the annoying
prompt. Simply substitute the GUID for the control you're running in the
place of {0D43FE01-F093-11CF-8940-00A0C9054228}.


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{0D43FE01-F093-11CF-8940-00A0C905
4228}\Implemented Categories]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{0D43FE01-F093-11CF-8940-00A0C905
4228}\Implemented Categories\{7DD95801-9882-11CF-9FA9-00AA006C42C4}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{0D43FE01-F093-11CF-8940-00A0C905
4228}\Implemented Categories\{7DD95802-9882-11CF-9FA9-00AA006C42C4}]

Bill G.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top