Hello all together!
Im using WinXP, Office 2003 and Fox 8. And I'm trying to create an Outlook application object with createObject(). Here is the code:
local oApplication
oApplication = createobject('Outlook.Application')
if type('oApplication') = 'O'
wait window 'Application ok'
release oApplication
else
wait window 'Application !ok'
endif
Whe I run it once it works fine. But when I run it twice I get the OLE error code 0x80004002. What goes wrong? The same code with Win200, Office 200 and Fox 8 is runnig perfect.
It would be great to get some support. Thanks in advance.
Regards