set myOlApp = CreateObject("Outlook.Application")

I

Idan

Hello,

I'm using set myOlApp = CreateObject("Outlook.Application") in VBS
The script run fine on Windows XP SP2 & Outlook 2003
On several comuter with the same configuration I'm getting error message
The specified module could not be found
8007007E

Any Help ?
 
S

Sue Mosher [MVP-Outlook]

Some anti-virus programs include script blocking that blocks any attempt to instantiate an Outlook.Application object.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
I

Idan

Thanks for replay

I'm using symantec anti virus with the same configuration on all workstation,
and idea what I need to looking for ?
 
S

Sue Mosher [MVP-Outlook]

Sorry, but I don't have a copy of that application installed here.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
I

Idan

Hi,
I found the problem and just want to share the solution.
Open the registry
Go to
[HKEY_CLASSES_ROOT\CLSID\Outlook.Application
Copy the Default value (most of the case is
"{0006F03A-0000-0000-C000-000000000046}")

In the register go now to
[HKEY_CLASSES_ROOT\CLSID\{0006F03A-0000-0000-C000-000000000046}\InprocServer32
In the default you will find
C:\Program Files\Common Files\Symantec Shared\Script Blocking\ScrBlock.dll

Defelte this value
..
I recomended to backup this registry key first by go to file >> Export
 

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