Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using CDO with VFP
Message
From
02/03/2004 09:40:56
 
 
To
02/03/2004 09:19:09
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00882316
Message ID:
00882325
Views:
17
Lawrence,

It sounds like the oApp is somewhere else in your application and totally unrelated to the code below. Maybe somewhere related to the lines that call this routine there is something wrong?

Where is oApp defined? Are you programming with a commercial framework that uses oApp and perhaps you are running outside of the normal environment when you get the oApp error, because oApp does not exist in your testing mode?

>I have the following code in my application:
>
>oMail = createobject("CDO.Message")
>oMail.To = "lhaslem@hotmail.com"
>oMail.Subject = "Test"
>oMail.TextBody = "This is a test message"
>oMail.Send()
>Release oMail
>
>When I run this is my application, the e-mail is sent but I get an oApp not found error message when it finishes. Any ideas?
>
>Lawrence
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform