set myOlApp = CreateObject("Outlook.Application")

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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 ?
 
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
 
Thanks for replay

I'm using symantec anti virus with the same configuration on all workstation,
and idea what I need to looking for ?
 
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
 
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
 
Back
Top