Getting rid of the VB6 MAPI controls in .NET

Hi,

I'm upgrading an app from VB6. I used the MAPI controls in several places. They've upgraded successfully and appear to be working. However I would like to replace them with some pure .NET solution as I'm trying to get rid of all Active X controls.

What options are available

Regards

Michael



Answer this question

Getting rid of the VB6 MAPI controls in .NET

  • Girishk

    Paul,

    Yes - I know MAPI is obsolete. I was trying to minimise re-writing code for the upgrade from VB6.

    The application drives Outlook 2000/2002/2003 to create emails.

    So I'm guessing the only real alternative is to re-write to drive the Outlook object model directly

    Regards

    Michael


  • Jeff Blake

    You could use the Outlook object model but there are other alternatives as well. See if the following helps:

    http://support.microsoft.com/ kbid=813349



  • MohitGupta


    MAPI is an obsolete technology with respect to .NET and Microsoft doesn't support it in this environment.

    The MAPI controls to which you refer are COM wrappers for the Simple Messaging API. If you're looking for a native .NET code wrapper for this API you may want to check out the following:

    Simple MAPI.NET



  • Getting rid of the VB6 MAPI controls in .NET