Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Buttons.vcx - MailBtn
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00825389
Message ID:
00825844
Vues:
23
>>Hi Nadya,
>>
>>Similar to how I parsed for multiple addresses. My app only needed 1 attachment.
>>
>>
>>* Put filenames (include the path) in an array... or whatever lArr()
>>FOR lnCount=1 TO ALEN(lArr)
>>	this.parent.OleMMess.attachmentposition=lnCount-1
>>	this.parent.OleMMess.attachmentpathname=alltrim(lArr(lnCount))
>>	* Note that the attachmentpathname includes the filename and extension
>>	this.parent.OleMMess.attachmentname=justfname(lArr(lnCount))
>>NEXT lnCount
>>this.parent.OleMMess.send(1) && 1 to preview, 0 just sends it
>>
>>
>>
>Thanks, Mike. Yes, I thought it could be something that simple. Hopefully it would solve Neetu's problem.

You're welcome.
Regards,

Mike

"We try to solve the problem by rushing through the design process so that enough time is left at the end to uncover the errors that were made because we rushed through the design process."
- Glenford Myers

If you're going through hell, keep going. - Walt Disney
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform