Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSMAPI32 control
Message
From
22/03/1999 12:34:59
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
MSMAPI32 control
Miscellaneous
Thread ID:
00200541
Message ID:
00200541
Views:
46
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
Next
Reply
Map
View

Click here to load this message in the networking platform