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:
00825811
Vues:
24
>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.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform