Solved

Outlook Express SDK or similar

Posted on 2004-09-10
9
345 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Suggested Solutions

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

738 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