Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSMAPI Routine Not Working with Outlook 2000
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00590119
Message ID:
00590266
Vues:
22
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform