Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem adding mapi object
Message
From
11/04/2000 08:49:17
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00357819
Message ID:
00357900
Views:
14
>I have an application object set up with a method "setupmail".
>
>In "setupmail" I have the following code...
>
>public oSession
>public oMessage
>this.addobject("oSession","olecontrol","MSMAPI.mapisession")
>this.addobject("oMessage","olecontrol","MSMAPI.mapiMessages")
>
>When I run the prg that calls setupmail I get an error mesage saying "object name is invalid".
>Any tips?

I've never tried adding them to a container...

Why not just use CREATEOBJECT("MSMAPI.MAPISession") ?
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform