Click to See Complete Forum and Search --> : Safe for initialization and scripting on the Internet


yasmin
February 3rd, 2000, 06:19 AM
Hi,
I have a few Visual Basic 6 DLLs and OCXs on a DHTML page, and I am running them on my computer (no server involved). The problem is that every time I open the page, I get the message: "Some software (ActiveX controls) on this page might be unsafe. It is recommended that you not run it. Do you want to allow it to run? "

I packaged the components with Package and Deploy and made them safe for initialization and scripting, but it doesn't help. Also, the controls manipulate files so I can't sign them.

Any thoughts ?

Thanks,
yasmin

Lothar Haensler
February 3rd, 2000, 07:13 AM
IMHO if your ocx manipulates files it is obviously NOT safe for scripting.
OTOH, you said that you run the OCX on an HTML page without any server involvement.
Thus, you could write an HTA application (IE 5 required) and live without any limits. In an HTA app you can use anything w/o any warnings.

Snoopy
February 4th, 2000, 04:13 PM
Hi

Add in Registry this both Keys

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}"

IE do the same by installing your Control from WEB. There use xxx.inf at the .cab-File.

Now also Events are requested.

yasmin
February 6th, 2000, 12:20 AM
Thanks !! You're a genius !!

I found out about these keys a month ago, but now I see I didn't add the {} around the key.