Solved

Outlook Express SDK or similar

Posted on 2004-09-10
9
342 Views
Last Modified: 2010-04-15
Hello Experts :o)


Does anybody know how to program to Outlook Express...
only: Outlook Express

Are there a way to export and import MSOE.DLL
and use it in managed code - i figured that this is the dll for OE ?

I have seen a lot of sample code to Outlook,
but I Only want to use Outlook Express... :)

So, for the person who can guide me to control Outlook express in c#
you got 500 points... :o)

Kind regards
Gert Jensen

0
Comment
Question by:GertJensen
  • 4
9 Comments
 
LVL 8

Accepted Solution

by:
Razzie_ earned 500 total points
ID: 12026389
Hello Gert,

Sorry to say, that is not possible. Only Outlook provides an SDK and API's. This MS Chat will give a little bit more info about it (although not that much):

http://www.microsoft.com/technet/community/chats/trans/winxppro/wxp0409.mspx

One snippet from that chat is the following (as an answer to your question):

Host: Bryan (Microsoft)
Q: About API, I want to control OE from .NET/C#.

A: We wouldn't do APIs that automate driving the UI. Outlook is the big team that has such an object model.

So what exactly do you want to do that you need OE?
0
 
LVL 1

Author Comment

by:GertJensen
ID: 12027052
I has been asked to program a solultion, that look in
folders in Outlook AND Outlook Express.

The program are for a company that are not able to tell if their
users uses Outlook or Outlook Express.

Are there any way to disasample Outlook Express and put a interface in
Visual Studio ??

Regasm, midl, tmbexp etc....... ?

Kind regards
Gert Jensen

0
 
LVL 8

Expert Comment

by:Razzie_
ID: 12027502
Normally you'd use tlbimp.exe on the dll files and create interop assemblies, but that doesn't work on MSOE.dll. midl only works for idl files, and regasm doesn't create interops. This, and the fact that the Microsoft Chat stated that they don't do OE API's, I think that it isn't possible.

Hmmm after typing the above I did a little search on google, and this is what came up:

First of all, if you are thinking Outlook Express, just forget it. The only three ways of integrating with Outlook Express are (and this is just me guessing) by paying Microsoft a lot of money and by giving them a really good reason to why you want to do that, or by hooking in through the encryption-entry, or by creating a proper hook and hacking your way in there.
I've done the hacking (due to missing funds) and it's not a pretty sight, it works but it's everything from clean.
(taken from http://www.codeproject.com/Purgatory/Outlook-addin.asp)

So in short, no, it's not 'possible', sorry.

If you want you can ask to get your points refunded. Good luck.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 8

Expert Comment

by:Razzie_
ID: 12027729
0
 
LVL 1

Expert Comment

by:FaithNoMore
ID: 12027928
Your best bet is to have a little chat with the project sponsor and explain why using Outlook Express in a business enviroment is not recommended.  Spending your time on convicing them to not use OE would be easier then making an app that will work with both (bascially two seperate apps).  As Razzie stated its not supported by MS, thus the only way to use .NET with it would be to "hack your way in there" which isnt fun or stable (ie, when the next version comes out it will most likely break something, and you will have to 'hack your way there" again :)

You should also be aware that Microsoft offers A LOT of free information to help people/partners sell their products, it shouldnt be hard to convice your client of the reasons for using Outlook.

Good Luck.
0
 
LVL 8

Expert Comment

by:Razzie_
ID: 12246667
I recommend ACCEPT: http://www.experts-exchange.com/Programming/Programming_Languages/C_Sharp/Q_21126110.html#12026389 since it is not possible to accomplish what he wants.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question