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
The information contained in this e-mail message may be privileged,
confidential, and protected from disclosure. If you are not the intended
recipient, any further disclosure or use, dissemination, distribution, or
copying of this message or any attachment is strictly prohibited. If you
think that you have received this e-mail message in error, please delete it
and notify the sender.
--- 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.