Take a look at Thread #
597633.
>The following command generates an error:
>
objOutlook = CREATEOBJECT("Outlook.Application")>
>If Outlook is open, the command seems to work fine. If it is closed, I get a couple of error boxes.
>
>The first one has a Title of "OUTLOOK.EXE - Application Error". The box contains the following information. "
The instruction at 0x30a2ae71 referenced memory at 0x00000000. The memory could not be read." This window seems to be a System error window.
>
>I click the OK button and then the following appears. Window title "Program Error". The box contains the following information "
OLE error code 0x80080005: Sever Execution Failed." This window is a FoxPro error window.
>
>Any ideas would be greatly appreciated.
--sb--