Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MAPI - Sending Attachments to Recipients Programmaticall
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00261254
Message ID:
00262142
Vues:
31
>Yeah! That would be great. The only thing is... I haven't used other classes before. Can you explain how to "drop it on a form"? Thanks. E-mail address is chuckh@ebaa.com.

I sent you the class via email. Take the attachment and save it to the folder where your project resides (or preferrably in a sub folder below the project named ClassLib). Then open the form you want the MAPI control in and find the Forms control toolbar (the one where you choose textbox or label from). Click on the Library icon immediately to the right of the pointer (arrow). and choose Add from the pull down menu. Now point to the Mapi.Vcx I emailed you (the attachment) and you will notice your Forms control toolbar changes. There will be only one button in there, the MAPI control. click on it and then click anywhere in the form other than in a container (in other words don't drop it in a pageframe). Go to properties and give it some name like cusMAPI. Anywhere in your form, you can refer to it like:

ThisForm.cusMAPI.Send()

Clicking on it in the Form Designer, you can go to your property sheet and set properties you want. You can also set properties programmatically like:

ThisForm.cusMAPI.cSubject = 'Open this message please'

Let me know if you need more help.
Oct 31 = Dec 25
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform