So it might be helpfull to check for a script blocking anti virus tool.
--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
--
www.VBOffice.net --
Am 10 Nov 2006 06:42:11 -0800 schrieb (e-mail address removed):
In that the sample program works fine on my work computer, I presume
there is nothing wrong with the sample program. When I installed
Outlook 2003 on my home computer, I did not receive any prompt, that I
can recall, that allowed me to choose an optional component. Besides,
I would would think that if the component wasn't installed, it would
not appear on the list of applications presented by the sample progam
(it get the list of applications from the registry). I would post this
to another group but I don't know which one to use. I tried an Outlook
General group but they said to post to a technical group. I chose this
one because it looked like it was technical. I don't what CDO 1.21 is.
Thanks,
John
Michael Bauer [MVP - Outlook] wrote:
I don't know Open Object REXX and because this is a VBA group you maybe
need
to find another group.
In VB(A), if you receive something like "could not create an object" then
the library, to which the object belongs to, or the class itself doesn't
exist on the computer. That might happen if the library is an optional
component (e.g. CDO 1.21 for Outlook) or the library or class name is
wrong
spelled.
Another reason could be an anti virus software that prevents code from
creating objects.
--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
--
www.VBOffice.net --
Am 9 Nov 2006 18:23:03 -0800 schrieb oorexxpert:
Michael,
I was using the OLEINFO REXX script that come with Open Object REXX. I
receive error code 92: OLE error. Could not create OLE instance. The
script statement is:
target~currentObject=.OLEObject~new(name,"NOEVENTS")
where 'name' is the Outlook.Application.11.
Sorry about not providing the details. If I select other applications,
they work fine, at least most of them. I could generate a list of
those that work and those that don't if that would help.
Thanks,
John
Michael Bauer [MVP - Outlook] wrote:
It might help someone to show what script you're talking about.
--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
--
www.VBOffice.net --
Am 6 Nov 2006 15:24:12 -0800 schrieb oorexxpert:
I've tried everything but can't get it to work. I want to process my
inbox in Outlook 2003 with a REXX script. To test how this works, I'm
using the OLEINFO sample that came with Open Object REXX. The thing
is
that this sample program works fine at my place of work. However,
when
I try it at home, it fails to initialize an instance of the Outlook
Application. In both cases, I'm using Outlook 2003 on Windows XP
Professional. I've tried re-installing Outlook and I have scripts
enabled. It just won't work.
This problem may have been already addressed, but I can't find it.
Thanks,
John