Click to See Complete Forum and Search --> : ActiveX security


highlander
February 29th, 2000, 03:34 PM
I have an HTML page that uses an ActiveX Control, every time the ActiveX is being used a warning dialog box pops up and recommend the user not to continue. Can any one tell me how can I sign my ActiveX as safe for use. I’m pretty new to VB so the more details the better.

Thanks.

Snoopy
February 29th, 2000, 04:38 PM
Add this 2 Keys at Registry

HKEY_LOCAL_MASCHINE\SOFTWARE\Classes\CLSID\your control clsid\CLSID\Implemented Categories\{7DD95802-9882-11CF-9FA9-00AA006C42C4}"

HKEY_LOCAL_MASCHINE\SOFTWARE\Classes\CLSID\your control clsid\CLSID\Implemented Categories\{7DD95801-9882-11CF-9FA9-00AA006C42C4}"

"your control clsid" you find at your ActiveX-Document (DHMTL etc.)

bye

Lothar Haensler
March 1st, 2000, 02:09 AM
if you have the sourcecode for your activex control, you can use the code in msdn article Q182598 to implement the IObjectSafety interface for your control.
I have done that and it works perfectly.