Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MAPI Control and Error 1426
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
MAPI Control and Error 1426
Miscellaneous
Thread ID:
00404465
Message ID:
00404465
Views:
76
I am trying to incorporate Nigel Coates mapi class in my application.
I am trying to call up the email with an attachment for any user of my system who is not on our network.
I have added his class to my project and built a CD install.
What I need to know is what activex controls need to be added in the VFP setup wizard to get this mapi control of his to function.
When I try to test it out on a machine I receive the following:
OLE error code 0xFORM.
Error Number is 1426

The line falling is line 13 of method isserverloaded ‘loSession=CREATEOBJECT(“MSMAPI.MAPISession.1”)’

I have included the activex controls in the VFP setup wizard of
Microsoft MAPI Message Control, version 6.0
Microsoft MAPI Session Control, version 6.0

Exerpt from my setup STF file:
31 Yes MSMAPI32.OCX InstallShared "MSMAPI32,Msmapi32Ocx,MSMAPI32.OCX,,6" %M
32 Yes MSMAPI32.OCX Depend 31 ? 33
33 Yes MSMAPI32.OCX SelfReg "MSMAPI32,Msmapi32Ocx" %M

Ran the regsvr32 msmapi32.ocx on the test machine and still get the error listed above.
Any help you could give me would be appreciated.
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Next
Reply
Map
View

Click here to load this message in the networking platform