My first foray into Automation is adding to my app the ability to
E-mail invoices.
I have an ancient version of Outlook (97 with the SR). While my
code works, it only works most of the time. Sometimes, Outlook hangs
up in .Send(). It hangs up so badly that aborting it does not help.
(When I try to delete messages manually, it locks up hard.) I end up
having to reboot.
Another time, I got an error:
VFP Version: Visual FoxPro 09.00.0000.3504 for Windows
Error Number: 1429
Error Text: OLE IDispatch exception code 61704 from OutlLib.dll:
Internal application error...
Extended Error Text: OLE IDISPATCH EXCEPTION CODE 61704 FROM
OUTLLIB.DLL: INTERNAL APPLICATION ERROR..
Source Line: omailitem=ooutlook.CreateItem(olMailItem)
At this point, I am about to give up and just send the code that
I have and hope that my problems are due to the version of Outlook. I
would rather that what I send work though.
I have followed the code in "Microsoft Office Automation with
Visual FoxPro" very closely. Am I missing anything else?
Sincerely,
Gene Wirchenko
Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.