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:
00590266
Views:
23
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.
Cy Welch
Senior Programmer/Analyst
MetSYS Inc
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform