![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
I don't like crossposting but I'm getting zero responses in another group.
I'm not sure if I am posting to the right forum but I am having a problem with accessing Contacts with Outlook Automation. The program works perfect in Outlook 2003 but gives an error on another computer with Outlook 2002. When I try and access the .Body I get an OLE Dispatch Error Code 4096 From Microsoft Outlook Out Of Memory. I'm not sure if the problem is with Outlook, the computer or perhaps I could change my programming code and how I access the body in Outlook Contacts. The code that gives the error is in VFPso here's a snapshot if it helps. I don't think it is a coding problem but I'm thinking perhaps there might be another way to access the body which might not give this error. loOutlook = createobject('outlook.application') loNS = loOutlook.GetNameSpace('MAPI') loDF = loNS.GetDefaultFolder(olFolderContacts) loItems = loDF.items loItem = loItems.item(1) ? loItem.Body Thanks, Mike |
#2
|
|||
|
|||
![]()
MikeA wrote:
I'm not sure if I am posting to the right forum but I am having a problem with accessing Contacts with Outlook Automation. Asking in either microsoft.public.outlook.contacts or microsoft.public.outlook.probram_vba may be a better choice. -- Brian Tillman |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with Outlook Automation | Neil | Outlook and VBA | 13 | January 15th 07 08:09 AM |
outlook 2002 problem | seeker | Outlook - Installation | 5 | January 7th 07 03:14 PM |
Outlook-Word automation problem | Gordon Filby | Outlook and VBA | 3 | December 6th 06 01:59 PM |
outlook 2002 problem | jerry | Outlook - General Queries | 4 | April 19th 06 06:01 AM |
Copying contacts from Outlook 2003 to Outlook 2002 problem | MikeD. | Outlook - Using Contacts | 3 | January 25th 06 04:13 PM |