Hey, Nick
Sorry, I don't know anything about your problem, but good to see your name 
again!
Dan Covill

> From: [email protected]
> To: [email protected]
> Subject: VFP accessing Outlook and receiving the following error  "OLE 
> IDispatch exception code 4096 from Microsoft Outlook: The operation failed..."
> Date: Tue, 8 Jul 2014 08:29:01 -0700
> 
> Good day gents,
> 
>  
> 
> I have been a FoxPro programmer for over 18 years, but yes they I ran into a
> situation that I quite couldn't resolve so I am reaching out to you all to
> see if someone has an answer for me. That me describe the scenario what's
> causing to trigger the error ("OLE IDispatch exception code 4096 from
> Microsoft Outlook: The operation failed...")
> 
>  
> 
> I have written a small program to perform some unit testing for me. All it's
> going to do is read through the contact list in Outlook 2013 display back
> varies information like first name last name email address company name.
> There are about 300 contacts in the contact folder of Outlook.
> 
>  
> 
> The first issue I ran across produce the following error,  "error: OLE error
> code 0x80020006: Unknown nam" 
> 
> this turned out being an issue because there were groups of contacts, which
> returns a different context object as opposed just a contact object. The fix
> for this was to check if the object was a group contact object and if so
> skip and move on to the next contact. I was able to check the type of object
> by using the GetInspector object for example:
> 
>  
> 
> IF AT("Contact Group",loContact.GetInspector.Caption) = 0
> 
>  
> 
> But now I am getting another error that indicates GetInspector is not in
> scope, so it appears.
> 
> Here's the error message I am receiving,  "OLE IDispatch exception code 4096
> from Microsoft Outlook: The operation failed..."
> 
>  
> 
> If anyone has any idea, I sure would appreciate your help.
> 
> I would like to thank the group in advance,
> 
>  
> 
> Thank you.
> 
>  
> 
> Sincerely, 
> Claude Nikula 
> Mesquite Information Technologies, LLC. 
> 
>  <mailto:[email protected]> [email protected] 
>  <http://www.mesquiteit.com/> www.mesquiteit.com 
> 
> O) 702-430-1679
> C) 858.395.0571 
> Skype: Claude.Nikula

                                          

--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to