
396 Chapter 9 • Building Safe ActiveX Internet Controls
that depends on the registry for its safety marking and have it perform as
safe and also as unsafe.You would have to package two versions: one that
is safe (under all conditions) and one that is not.
Now, if you cannot wait to open regedit.exe and start wading
through your Windows Registry, I show you exactly what is needed. All
you have to do is provide the following registry keys for your favorite
ActiveX control’s Class ID (CLSID) under the Implemented Categories
section (see Figure 9.11).
■
To mark a control as “safe for scripting,” use 7DD95801-9882-
11CF-9FA9-00AA006C42C4 as the key.
■
To mark ...