Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exception code 61704 from Microsoft OutLook
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Exception code 61704 from Microsoft OutLook
Miscellaneous
Thread ID:
00684487
Message ID:
00684487
Views:
80
Hello Everyone,
I am using a code similar to the one bellow to send e-mail from VFP 5.0/7.0
using Microsoft OutLook

o = CreateObject("OutLook.Application")
oItem = o.CreateItem(0)
oItem.Subject = "Email From VFP5/VFP7"
oItem.To = "MyName@MyCompany.Com"
oItem.Body = "This mail was sent from vfp using Outlook 2000"
oItem.Send()
o = .null.

The code was working fine before under Windows 98 and NT 4.0, but under 2000
I'm getting this error :

"OLE IDispatch exception code 61704 from Microsoft OutLook:
Internal application error..."

when I try to execute the second line in the code, which is:
oItem = o.CreateItem(0)

Any ideas what could be causing it?

THIS.Thanks("in advance")
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Next
Reply
Map
View

Click here to load this message in the networking platform