Help!

set myOlApp = CreateObject("Outlook.Application")

 
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Programming VBA RSS
Next:  retrieve item from calendar  
Author Message
Idan
External


Since: Nov 24, 2005
Posts: 6



PostPosted: Mon Nov 28, 2005 9:12 am    Post subject: set myOlApp = CreateObject("Outlook.Application")
Archived from groups: microsoft>public>outlook>program_vba (more info?)

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 ?
Back to top
Sue Mosher [MVP-Outlook]
External


Since: Feb 11, 2005
Posts: 21627



PostPosted: Mon Nov 28, 2005 3:09 pm    Post subject: Re: set myOlApp = CreateObject("Outlook.Application") [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Idan" wrote in message
> 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 ?
>
Back to top
Idan
External


Since: Nov 24, 2005
Posts: 6



PostPosted: Mon Nov 28, 2005 3:09 pm    Post subject: Re: set myOlApp = CreateObject("Outlook.Application") [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks for replay

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

"Sue Mosher [MVP-Outlook]" wrote:

> 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
> http://www.turtleflock.com/olconfig/index.htm
> and Microsoft Outlook Programming - Jumpstart for
> Administrators, Power Users, and Developers
> http://www.outlookcode.com/jumpstart.aspx
>
>
> "Idan" wrote in message
> > 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 ?
> >
>
Back to top
Sue Mosher [MVP-Outlook]
External


Since: Feb 11, 2005
Posts: 21627



PostPosted: Mon Nov 28, 2005 5:20 pm    Post subject: Re: set myOlApp = CreateObject("Outlook.Application") [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Idan" wrote in message
> Thanks for replay
>
> I'm using symantec anti virus with the same configuration on all workstation,
> and idea what I need to looking for ?
>
> "Sue Mosher [MVP-Outlook]" wrote:
>
>> 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
>> http://www.turtleflock.com/olconfig/index.htm
>> and Microsoft Outlook Programming - Jumpstart for
>> Administrators, Power Users, and Developers
>> http://www.outlookcode.com/jumpstart.aspx
>>
>>
>> "Idan" wrote in message
>> > 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 ?
>> >
>>
Back to top
Idan
External


Since: Nov 24, 2005
Posts: 6



PostPosted: Tue Nov 29, 2005 8:52 am    Post subject: Re: set myOlApp = CreateObject("Outlook.Application") [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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



"Sue Mosher [MVP-Outlook]" wrote:

> Sorry, but I don't have a copy of that application installed here.
>
> --
> Sue Mosher, Outlook MVP
> Author of Configuring Microsoft Outlook 2003
> http://www.turtleflock.com/olconfig/index.htm
> and Microsoft Outlook Programming - Jumpstart for
> Administrators, Power Users, and Developers
> http://www.outlookcode.com/jumpstart.aspx
>
>
> "Idan" wrote in message
> > Thanks for replay
> >
> > I'm using symantec anti virus with the same configuration on all workstation,
> > and idea what I need to looking for ?
> >
> > "Sue Mosher [MVP-Outlook]" wrote:
> >
> >> 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
> >> http://www.turtleflock.com/olconfig/index.htm
> >> and Microsoft Outlook Programming - Jumpstart for
> >> Administrators, Power Users, and Developers
> >> http://www.outlookcode.com/jumpstart.aspx
> >>
> >>
> >> "Idan" wrote in message
> >> > 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 ?
> >> >
> >>
>
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Programming VBA All times are: Eastern Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum