Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Xbase Fox > Re: VFP 9: Outl...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 6 Topic 829 of 861
Post > Topic >>

Re: VFP 9: Outlook Automation Problem

by "Paul Pedersen" <nospam@[EMAIL PROTECTED] > Jan 30, 2008 at 08:04 PM

This might be too obvious, but you do have this in there somewhere, right?

#DEFINE olMailItem 0




"Gene Wirchenko" <genew@[EMAIL PROTECTED]
> wrote in message 
news:9h62q35fvm8igbhf76itpmi2pb2728koko@[EMAIL PROTECTED]
>     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.
 




 6 Posts in Topic:
VFP 9: Outlook Automation Problem
Gene Wirchenko <genew@  2008-01-30 16:56:38 
Re: VFP 9: Outlook Automation Problem
"Paul Pedersen"  2008-01-30 20:04:40 
Re: VFP 9: Outlook Automation Problem
Gene Wirchenko <genew@  2008-01-30 21:14:19 
Re: VFP 9: Outlook Automation Problem
Gene Wirchenko <genew@  2008-01-30 21:46:38 
Re: VFP 9: Outlook Automation Problem
"Dan Freeman" &  2008-02-02 13:05:57 
Re: VFP 9: Outlook Automation Problem
Gene Wirchenko <genew@  2008-02-03 22:27:40 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Oct 15 21:52:44 CDT 2008.