Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending Email with MAPI
Message
 
 
To
11/06/2001 09:57:11
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00516883
Message ID:
00517956
Views:
20
Tim,

It sounds like you weren't properly cleaning up the MAPI controls when the form went out of scope. I know that I've had code that instantiated them more than once during a VFP session.

> Thanks for the tip. I am using the exact same code as the sample at your website. My form works fine the first time, but fails if I close the form and then reopen it.
>
>I have moved the email objects into the Main program and now it works fine. The problem is the MAPI OCX file will now need to be on every user's machine. My original plan was to put the MAPI OCX only on the machines of users that used the email form.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform