|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Where can I find Interop.MAPI.dllI need Interop.MAPI.dll for a project, but where can I find this file?
Philip,
CMM has sent today this today in this newsgroup as an answer to me. I have seen that just Google on "Download msmapi32.ocx" gives direct a lot of download file. Maybe can you try this, than I have the idea that CMM will for sure help you. If we have than a complete documented sample (including where to get the aciveX.) than we can set it as a sample on our website. This is the text from CMM. ----------------------------------------------------------------------------------------------------- I have confirmed personally that the mapi activex controls (msmapi32.ocx) do indeed work with OE... in fact they work better with OE than with Outlook because of Outlook's Object Model Guard. MAPI (Mail API) was intended to be a "generic" interface into any "default" e-mail program on the computer... not just MSMail or Exchange based ones. (VB6 code using the two controls necessary) MAPISession1.DownLoadMail = False MAPISession1.SignOn MAPISession1.NewSession = True MAPIMessages1.SessionID = MAPISession1.SessionID MAPIMessages1.Compose MAPIMessages1.RecipAddress = "some***@somewhere.com" MAPIMessages1.msgSubject = "My subject" MAPIMessages1.msgNoteText = "bla bla bla" MAPIMessages1.Send MAPISession1.SignOff MAPISession1.NewSession = False ----------------------------------------------------------------------------------------- Cor I am not looking for msmapi32.ocx but for Interop.MAPI.dll.
I believe it should be installed on my system as office pia interop. But I have both full install of vs.net 2005 en office 2003 Show quoteHide quote "Cor Ligthert [MVP]" wrote: > Philip, > > CMM has sent today this today in this newsgroup as an answer to me. > > I have seen that just Google on "Download msmapi32.ocx" gives direct a lot > of download file. > Maybe can you try this, than I have the idea that CMM will for sure help > you. > > If we have than a complete documented sample (including where to get the > aciveX.) than we can set it as a sample on our website. > > This is the text from CMM. > ----------------------------------------------------------------------------------------------------- > > I have confirmed personally that the mapi activex controls (msmapi32.ocx) do > indeed work with OE... in fact they work better with OE than with Outlook > because of Outlook's Object Model Guard. > > MAPI (Mail API) was intended to be a "generic" interface into any "default" > e-mail program on the computer... not just MSMail or Exchange based ones. > > (VB6 code using the two controls necessary) > > MAPISession1.DownLoadMail = False > MAPISession1.SignOn > MAPISession1.NewSession = True > > MAPIMessages1.SessionID = MAPISession1.SessionID > > MAPIMessages1.Compose > MAPIMessages1.RecipAddress = "some***@somewhere.com" > MAPIMessages1.msgSubject = "My subject" > MAPIMessages1.msgNoteText = "bla bla bla" > > MAPIMessages1.Send > > MAPISession1.SignOff > MAPISession1.NewSession = False > ----------------------------------------------------------------------------------------- > > Cor > > > > > Possibly installed with Visual Studio Tools For Office?
Or perhaps this PIA is installed as part of Collaboration Data Objects (CDO- which is an optional component when you install Outlook) or the Outlook Messaging Objects (also an optional component).... check Add/Remove Programs -> Microsoft Office. It'll show you what components are installed. Good luck. Show quoteHide quote "Philip Wagenaar" <philip.wagenaar@online.nospam> wrote in message news:A38D0E2F-0FB3-4C86-A554-25794252D450@microsoft.com... >I am not looking for msmapi32.ocx but for Interop.MAPI.dll. > > I believe it should be installed on my system as office pia interop. But I > have both full install of vs.net 2005 en office 2003 > > "Cor Ligthert [MVP]" wrote: > >> Philip, >> >> CMM has sent today this today in this newsgroup as an answer to me. >> >> I have seen that just Google on "Download msmapi32.ocx" gives direct a >> lot >> of download file. >> Maybe can you try this, than I have the idea that CMM will for sure help >> you. >> >> If we have than a complete documented sample (including where to get the >> aciveX.) than we can set it as a sample on our website. >> >> This is the text from CMM. >> ----------------------------------------------------------------------------------------------------- >> >> I have confirmed personally that the mapi activex controls (msmapi32.ocx) >> do >> indeed work with OE... in fact they work better with OE than with Outlook >> because of Outlook's Object Model Guard. >> >> MAPI (Mail API) was intended to be a "generic" interface into any >> "default" >> e-mail program on the computer... not just MSMail or Exchange based ones. >> >> (VB6 code using the two controls necessary) >> >> MAPISession1.DownLoadMail = False >> MAPISession1.SignOn >> MAPISession1.NewSession = True >> >> MAPIMessages1.SessionID = MAPISession1.SessionID >> >> MAPIMessages1.Compose >> MAPIMessages1.RecipAddress = "some***@somewhere.com" >> MAPIMessages1.msgSubject = "My subject" >> MAPIMessages1.msgNoteText = "bla bla bla" >> >> MAPIMessages1.Send >> >> MAPISession1.SignOff >> MAPISession1.NewSession = False >> ----------------------------------------------------------------------------------------- >> >> Cor >> >> >> >> >> Hi Philip,
Do you mean the interop assembly for mapi32.dll which is installed with outlook? Based on my research, there is no PIA for the DLL. Also please take a look at link the below. Excel, Exchange, and C# http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol/htm l/csharp05152003.asp Best regards, Peter Huang Microsoft Online Partner Support Get Secure! - www.microsoft.com/security This posting is provided "AS IS" with no warranties, and confers no rights. Philip,
Adding a COM reference to "Microsoft CDO 1.21 Library" will create the Interop.MAPI.dll "Interop Assembly" (IA?) for you. CDO 1.21 is an optional install for Outlook. Outlook 2003 has PIA (Primary Interop Assembly) that are optionally installed with the product or as a download, while Outlook XP you can only download its PIA. NOTE: using "Microsoft CDO 1.21 Library" is not supported by Microsoft, however I have had success in VS 2003 (.NET 1.x): http://support.microsoft.com/?kbid=813349 Other Outlook MVPs have indicated that CDO does not work in VS 2005 (.NET 2.0) for her. However I have not migrated my project to collaborate her findings... -- Show quoteHide quoteHope this helps Jay [MVP - Outlook] ..NET Application Architect, Enthusiast, & Evangelist T.S. Bradley - http://www.tsbradley.net "Philip Wagenaar" <philip.wagenaar@online.nospam> wrote in message news:C5CA58EF-C0E3-4AAD-8648-600A9FF243BD@microsoft.com... |I need Interop.MAPI.dll for a project, but where can I find this file? Ok thank you.
I will have to rethink my approach. Show quoteHide quote "Jay B. Harlow [MVP - Outlook]" wrote: > Philip, > Adding a COM reference to "Microsoft CDO 1.21 Library" will create the > Interop.MAPI.dll "Interop Assembly" (IA?) for you. CDO 1.21 is an optional > install for Outlook. > > Outlook 2003 has PIA (Primary Interop Assembly) that are optionally > installed with the product or as a download, while Outlook XP you can only > download its PIA. > > > NOTE: using "Microsoft CDO 1.21 Library" is not supported by Microsoft, > however I have had success in VS 2003 (.NET 1.x): > http://support.microsoft.com/?kbid=813349 > > > Other Outlook MVPs have indicated that CDO does not work in VS 2005 (.NET > 2.0) for her. However I have not migrated my project to collaborate her > findings... > > -- > Hope this helps > Jay [MVP - Outlook] > ..NET Application Architect, Enthusiast, & Evangelist > T.S. Bradley - http://www.tsbradley.net > > > "Philip Wagenaar" <philip.wagenaar@online.nospam> wrote in message > news:C5CA58EF-C0E3-4AAD-8648-600A9FF243BD@microsoft.com... > |I need Interop.MAPI.dll for a project, but where can I find this file? > > > Hi Philip,
I agree with Jay's point here. CDO 1.2x is not supported in managed code currently. That means it may bring some unexpected behavior sometimes. So it is better for you to select other approachs such as System.Web.Mail. Thanks very much for your understanding. Best regards, Yanhong Huang Microsoft Community Support Get Secure! ¨C www.microsoft.com/security Register to Access MSDN Managed Newsgroups! http://msdn.microsoft.com/subscriptions/managednewsgroups/ This posting is provided "AS IS" with no warranties, and confers no rights. Doh!
| NOTE: using "Microsoft CDO 1.21 Library" is not supported by Microsoft, That should be "using Microsoft CDO 1.21 with .NET is not supported by | however I have had success in VS 2003 (.NET 1.x): | http://support.microsoft.com/?kbid=813349 Microsoft. Using CDO 1.21 from COM clients (such as VB6 & VBScript) is supported... -- Show quoteHide quoteHope this helps Jay [MVP - Outlook] ..NET Application Architect, Enthusiast, & Evangelist T.S. Bradley - http://www.tsbradley.net "Jay B. Harlow [MVP - Outlook]" <Jay_Harlow_***@tsbradley.net> wrote in message news:eu64NwsKGHA.3200@tk2msftngp13.phx.gbl... | Philip, | Adding a COM reference to "Microsoft CDO 1.21 Library" will create the | Interop.MAPI.dll "Interop Assembly" (IA?) for you. CDO 1.21 is an optional | install for Outlook. | | Outlook 2003 has PIA (Primary Interop Assembly) that are optionally | installed with the product or as a download, while Outlook XP you can only | download its PIA. | | | NOTE: using "Microsoft CDO 1.21 Library" is not supported by Microsoft, | however I have had success in VS 2003 (.NET 1.x): | http://support.microsoft.com/?kbid=813349 | | | Other Outlook MVPs have indicated that CDO does not work in VS 2005 (.NET | 2.0) for her. However I have not migrated my project to collaborate her | findings... | | -- | Hope this helps | Jay [MVP - Outlook] | .NET Application Architect, Enthusiast, & Evangelist | T.S. Bradley - http://www.tsbradley.net | | | "Philip Wagenaar" <philip.wagenaar@online.nospam> wrote in message | news:C5CA58EF-C0E3-4AAD-8648-600A9FF243BD@microsoft.com... ||I need Interop.MAPI.dll for a project, but where can I find this file? | |
Coding Standards - We need a hero
Q: DataGrid Select Shutdown a list of computers using VB.net Need equivalant code in VB.Net 2005 ? "friend" accessor and inherited forms Waht is the fastest/bets? Outlook Object/CDO/Redemption/...? Data types TCPListener / GUI Responsivness Calling all (any?) NDoc'ers Register insertion of USB drives in .NET 1.1 |
|||||||||||||||||||||||