Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSMAPI Routine Not Working with Outlook 2000
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00590119
Message ID:
00590523
Views:
24
>Windows Messaging and Outlook97, but NOT with Outlook 2000. The program stops with a dialog box as follows:
>>>>
>>>>Program Error
>>>>OLE | Dispatch exception code 0 from MAPIMessages:
>>>>Attachment not found. - Cancel - Ignore - Help
>>>>
>>>>I have tried various ways to fix this problem, including using AttachmentPosition, AttachmentIndex, and using AttachmentPathname very spcifically by including SYS(5) + CURDIR() + filename.
>>>>
>>>
>>>This is a SWAG, but I've had considerable trouble with SYS(5) and UNCs; a more reliable reference can be obtained from:
>>>
>>>FULLPATH(CURDIR()+"file name")
>>>
>
>FULLPATH("file name") would work just as well and is shorter to type. As a matter of fact, as long as the file is on the foxpro path, just referencing the name of the file will get you the full qualified path to the file.

No matter which way I do it, I still get the "Attachment not found" message. Any suggestions? This problem is killing me because it means I can't go ahead and update clients to Outlook 2000 (or greater, I suppose). I still have some users on older PCs using Windows Messaging. Their machines are due to be replaced soon, and it's not going to look good for me if I have to try running Windows Messaging or Outlook 97 on spaceship machines running Widnows XP. Sometimes it's really frustrating being a 1-man IT shop. TIA, Chuck
Chuck Henry
Previous
Reply
Map
View

Click here to load this message in the networking platform