Hi folks.
I dunno if this is the right place to ask for help with ActiveX / .net /
Outlook, so ill siimpl give it a try :)
I want to develop an ActiveX Control for MS-Outlooks 2003 with Visual
Studio.Net 2003 and .net Framework 1.1 installed.
Ive read tons of stuff about dlls with .Net, so my question is: How to
create a dll wih is kinda readable by Outlook? With VB6, one can create a
Dll, regsvr32 it and use it as an ActiveX-Control in Outlook.How to do this
in .Net?
Do i need a Wrapper for this?
Can i compile my Dll in native Bytecode, so it is like an old dll?
How to give Outlook the "new" Dll so that it can identify it as a container
for an ActiveX-Control?
Do I need to setup the Dll as a Com-Application? What for?
Thanks, best regards
Fabian Werner
anyWARE Ag -- Germany
Thomas Scheidegger [MVP] - 30 Oct 2004 13:42 GMT
Hi Fabian
> I want to develop an ActiveX Control for MS-Outlooks 2003 with Visual
> Studio.Net 2003 and .net Framework 1.1 installed.
.NET (thus Forms&Controls) does not support building (visual) ActiveX Controls
except for the Internet Explorer:
http://support.microsoft.com/?kbid=311334
The only you can build are 'Add-Ins':
http://msdn.microsoft.com/library/en-us/dv_vstechart/html/ol03csharp.asp
http://support.microsoft.com/?kbid=302896
NOTE:
Outlook uses 'classic' (unmanaged) technology.
.NET is a new generation and provides limited interoperability only.
Else use classic tools (C++/ATL, maybe VB6) for classic problems.
> Can i compile my Dll in native Bytecode, so it is like an old dll?
no, VB.NET generates managed code only.

Signature
Thomas Scheidegger - MVP .NET - 'NETMaster'
http://www.cetus-links.org/oo_dotnet.html - http://dnetmaster.net/