Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / General / October 2004

Tip: Looking for answers? Try searching our database.

ActiveX for Outlook forms in .Net?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
castle8000 - 30 Oct 2004 13:13 GMT
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/


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.