Add CDOEX.DLL to ASP.NET app

How do I add the CDOEX.DLL to my ASP.NET app. I need to use it to create exchange mail boxs. Please show the code.
jui2ceAsked:
Who is Participating?
 
b1xml2Commented:
The manual way is to use the tlbimp.exe

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/html/cpgrftypelibraryimportertlbimpexe.asp
and then in your ASP.NET page
<% @Register Assembly="<name_of_dll_without_extension>" %>

and you can then call the assembly....
0
 
b1xml2Commented:
If you are using VS.NET, you add a COM reference to the project.
0
 
jui2ceAuthor Commented:
I'm not Using VS.NET
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

 
b1xml2Commented:
To create exchange mail boxes imply there is the existence of Exchange Servers. Go get Visual Studio.NET if you want to programme seriously.
0
 
jui2ceAuthor Commented:
That doesn't seem like a Resonable Answer. There has to be a way to Enable the CDOEX.DLL without going and buying. Visual Studio.NET
0
 
b1xml2Commented:
after using the tool, you place the resultant dll into the bin folder.
0
 
jui2ceAuthor Commented:
Thanks. I tried however I get the following error

The CDOEXM.DLL Could not be converted. Converting the type library to a .NET assembly faild. A dependent type library 'CDO' could not be converted to a .NET assemble
0
 
jui2ceAuthor Commented:
GREAT THanks it was right on the money except this little bit THANKS!!!

<%@ Register tagprefix="cdodex"
   Namespace="Test"
   Assembly="Test" %>
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.