To resolve this problem, follow these steps on the client computer:
- Start Microsoft Internet Explorer.
- From the Tools menu in Internet Explorer 5 or the View menu in Internet Explorer 4.0, select Internet Options.
- Click the Security tab.
- Select Custom (for expert users), and click Settings.
- Under the Initialize and script ActiveX controls not
marked as safe option, change the setting from Disable to Prompt. This prompts users to initialize the object.
After you change the setting to
Prompt, the
CreateObject call should succeed. Internet Explorer will prompt the user about whether it should initialize the object. To eliminate the dialog box, you can change the setting in step 5 from
Prompt to
Enable.