Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Send Email problem
Message
 
 
À
23/02/2000 21:20:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00335853
Message ID:
00336529
Vues:
27
Mike,

This code is almost 2 years old, so maybe the IE5 OE works differently now, but in IE4 with OE I have this method fragment in production:
with this.oleMAPIMessages
   this.mnAttachmentCount = this.mnAttachmentCount + 1
   dimension this.maAttachments[this.mnAttachmentCount]
   .AttachmentIndex = this.mnAttachmentCount - 1
   .AttachmentPathName = pcFileName
*   .AttachmentPosition = this.mnAttachmentCount - 1 && 04-Aug-98 KB Article Q181899
* 12-Aug-98 removed above line because setting it to anything but 0 causes an error
   i = rat( "\", pcFileName )
   this.maAttachments[this.mnAttachmentCount] = substr( pcFileName, i+1 )
   .AttachmentName = this.maAttachments[this.mnAttachmentCount]
   .AttachmentType = 0
endwith
>>Nope, you set the AttachmentIndex property to have multiple attachments.
>
>Oh. But I thihnk you need to give them all a unique position within the message, otherwise, you'll get an error. Maybe its differnet for different Simple Mapi Clients.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform