473,699 Members | 2,715 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Where can I find Interop.MAPI.dl l

I need Interop.MAPI.dl l for a project, but where can I find this file?
Feb 1 '06 #1
8 13989
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.Do wnLoadMail = False
MAPISession1.Si gnOn
MAPISession1.Ne wSession = True

MAPIMessages1.S essionID = MAPISession1.Se ssionID

MAPIMessages1.C ompose
MAPIMessages1.R ecipAddress = "so*****@somewh ere.com"
MAPIMessages1.m sgSubject = "My subject"
MAPIMessages1.m sgNoteText = "bla bla bla"

MAPIMessages1.S end

MAPISession1.Si gnOff
MAPISession1.Ne wSession = False
-----------------------------------------------------------------------------------------

Cor


Feb 1 '06 #2
I am not looking for msmapi32.ocx but for Interop.MAPI.dl l.

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.Do wnLoadMail = False
MAPISession1.Si gnOn
MAPISession1.Ne wSession = True

MAPIMessages1.S essionID = MAPISession1.Se ssionID

MAPIMessages1.C ompose
MAPIMessages1.R ecipAddress = "so*****@somewh ere.com"
MAPIMessages1.m sgSubject = "My subject"
MAPIMessages1.m sgNoteText = "bla bla bla"

MAPIMessages1.S end

MAPISession1.Si gnOff
MAPISession1.Ne wSession = False
-----------------------------------------------------------------------------------------

Cor


Feb 1 '06 #3
CMM
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.
"Philip Wagenaar" <ph************ *@online.nospam > wrote in message
news:A3******** *************** ***********@mic rosoft.com...
I am not looking for msmapi32.ocx but for Interop.MAPI.dl l.

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.Do wnLoadMail = False
MAPISession1.Si gnOn
MAPISession1.Ne wSession = True

MAPIMessages1.S essionID = MAPISession1.Se ssionID

MAPIMessages1.C ompose
MAPIMessages1.R ecipAddress = "so*****@somewh ere.com"
MAPIMessages1.m sgSubject = "My subject"
MAPIMessages1.m sgNoteText = "bla bla bla"

MAPIMessages1.S end

MAPISession1.Si gnOff
MAPISession1.Ne wSession = False
-----------------------------------------------------------------------------------------

Cor


Feb 1 '06 #4
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/de...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.

Feb 2 '06 #5
Philip,
Adding a COM reference to "Microsoft CDO 1.21 Library" will create the
Interop.MAPI.dl l "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" <ph************ *@online.nospam > wrote in message
news:C5******** *************** ***********@mic rosoft.com...
|I need Interop.MAPI.dl l for a project, but where can I find this file?
Feb 6 '06 #6
Ok thank you.

I will have to rethink my approach.

"Jay B. Harlow [MVP - Outlook]" wrote:
Philip,
Adding a COM reference to "Microsoft CDO 1.21 Library" will create the
Interop.MAPI.dl l "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" <ph************ *@online.nospam > wrote in message
news:C5******** *************** ***********@mic rosoft.com...
|I need Interop.MAPI.dl l for a project, but where can I find this file?

Feb 6 '06 #7
Doh!
| 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
That should be "using Microsoft CDO 1.21 with .NET is not supported by
Microsoft.

Using CDO 1.21 from COM clients (such as VB6 & VBScript) is supported...

--
Hope this helps
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
"Jay B. Harlow [MVP - Outlook]" <Ja************ @tsbradley.net> wrote in
message news:eu******** ******@tk2msftn gp13.phx.gbl...
| Philip,
| Adding a COM reference to "Microsoft CDO 1.21 Library" will create the
| Interop.MAPI.dl l "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" <ph************ *@online.nospam > wrote in message
| news:C5******** *************** ***********@mic rosoft.com...
||I need Interop.MAPI.dl l for a project, but where can I find this file?
|
|
Feb 6 '06 #8
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/subscripti...gednewsgroups/

This posting is provided "AS IS" with no warranties, and confers no rights.

Feb 7 '06 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
7189
by: Kurt | last post by:
Hi I am using CDO 1.21 from C# in order to iterate through the entries in a users outlook address book (as OOM was too slow). Basically I take the Name field from each "message" and insert it into a ListBox. I shall paste my code at the end, and describe my problem first If I call my MAPI.Sessions Logoff method when I have finished using it, then this method takes between 1 and 5 minutes to execute, but after that everything is fine If...
2
4562
by: John Dalberg | last post by:
I have an application that's giving an error during installation. "Error 1935. An error occured during the installation of assembly interop.sqldmo, version 8.0.0.0, PublicKeyToken........" I am not sure what the error is about. I don't know if the app is trying to install interop.sqldmo or it's not finding interop.sqldmo. Doesn't interop.sqldmo get installed with the .NET Framework? Any idea what the error means? John Dalberg
1
2262
by: Dennis | last post by:
Hi I'm trying to implement a vector of vectors where find can be used to find a vector<double> in the vectors of vectors, that is hard to understand i guess. What I mean is that I got a vector foo containing vectors of the size 3. I then want to compare a vector<double> of size 3 (coord) with foo to find a sequence of elements in foo that equals coord. However, when I try this it returns when just one of the element of coord equals one...
7
9993
by: Munsifali Rashid | last post by:
Hi, I've built a webservice in C# that can add public folders to Exchange. There's also a component built in VB6 which references the Outlook 10 (XP) DLL, so I can change the default form being used to post to a public folder. The component works fine when instantiated from a Windows script, but when using it from COM Interop in an ASP.NET web application it errors when trying to execute oNs.GetNameSpace("MAPI"). The error it throws...
0
2235
by: Chris V | last post by:
Hello, I'm having problems sending MAPI Mail from an ASP.NET applcation (in VB) (which worked fine in traditional asp) When run on our test server, it returns an COMException (0x80010106): ]] exception from MAPI. (from the global.asa when trying to create MAPI session I get a .net exception "Cannot change thread mode after it is set")
3
2844
by: Siv | last post by:
Hi, A little while ago I wrote a small program that allowed the user to view products from a database. The database holds the details of the products which can be viewed via a form and additionally pictures of the product are stored in an images subfolder and the database holds the file name of the relevant picture. The user can then click a button to display the picture in a pop-up window and also another button to email the potential...
2
7297
by: JC | last post by:
Anybody knows what problem has this code? I think, in the Garbage Collector? You know the Solution? The program in the test's case, whit 350 contacts, run OK before number 86. The error is a "Array index out of bounds". Microsoft.Office.Interop.Outlook._Application olApp = new Microsoft.Office.Interop.Outlook.ApplicationClass(); Microsoft.Office.Interop.Outlook._NameSpace olNs = olApp.GetNamespace("MAPI");
4
15063
by: Brian Hampson | last post by:
I recently upgraded to Outlook 2007 B2TR and have found that I can no longer code against MAPI.DLL It's gone :( Using C#, I used to get the MAPI session, and from that I could change the out of office. No longer. Does anyone know how to do this using the new Microsoft.Office.Core and Microsoft.Office.Outlook DLL's that are supposed to be the new replacements? Here's what I had that worked until Outlook 2007 came around:
1
2866
by: allbelonging | last post by:
C#.Net Outlook 2003 automation (programmatically) with Office.Interop.Outlook Problem: I have my outlook 2003 configured with multiple mailbox on my local machine. I want to specify the mailbox and server (Exchange server mail box) to connect and then save the mailitems(from Inbox or any other folder) based on a filter to a*.msg file. I want to achieve this using only one Interop dll if this is possible. Tried so far:
0
8685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8613
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9172
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8908
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8880
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5869
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4374
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2344
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.