Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSMAPI32 control
Message
De
22/03/1999 12:34:59
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
MSMAPI32 control
Divers
Thread ID:
00200541
Message ID:
00200541
Vues:
45
Hi !
I'v got a error message "Error on opening attachment" when i try to attach a file to an e-mail message. I join a portion of the source code.
Thanks for your help.


thisform.olecontrol1.SessionId = thisform.olecontrol2.SessionId
thisform.olecontrol1.MsgIndex = -1
thisform.olecontrol1.Compose
thisform.olecontrol1.show
thisform.olecontrol1.AttachmentIndex = 0
thisform.olecontrol1.MsgSubject = "Satistics"
thisform.olecontrol1.AttachmentType = 0
thisform.olecontrol1.MsgNoteText = "Bonjour"
thisform.olecontrol1.AttachmentPosition = 7
thisform.olecontrol1.AttachmentPathName = "c:\at"
thisform.olecontrol1.AttachmentName = "Test.txt"
thisform.olecontrol1.Send(1)
thisform.olecontrol2.Signoff
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform