Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE error code 0x80080005: Server execution failed
Message
 
 
À
19/10/2001 10:39:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00570847
Message ID:
00571204
Vues:
71
Try 'Outlook Mail (sequel to MAPI Mail)' class in download section file#9662.

BTW, There is Update link for messages where no one has replied to them.

>hey everyone,
>sorry about the last one. i was about to paste the code in and hit the return twice. here is the code i have that results in the OLE error:
>Private strProfile, ;
>        strPassword , ;
>        strRecipient , ;
>        strBody
>
>strProfile = "myusername"
>strPassword = "mypassword"
>strRecipient = "myemail"
>strSubject = "Test object mail"
>strBody = "this is the message"
>
>theApp = CreateObject("Outlook.Application")
>theNameSpace = theApp.GetNameSpace("MAPI")
>theNameSpace.Logon(strProfile , strPassword)
>theMailItem = theApp.CreateItem(0)
>theMailItem.Recipients.Add( strRecipient )
>theMailItem.Subject = strSubject
>theMailItem.Body = strBody
>theMailItem.Send
>theNameSpace.Logoff
>i get this error when i run the code. i got this code from the faq section of the thread.
>
>OLE error code 0x80080005: Server execution failed
>
>I have set the controls to MAPI Messages Control and MAPI Session Control. Do i need to set anything else? Do you have any idea why I might be getting this error? Thanks
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform