By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,534 Members | 910 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,534 IT Pros & Developers. It's quick & easy.

.NET DLL HELL

P: n/a
MC
Hi all

I have created a .NET DLL in VB.NET. My first and very proud.

Now i understand the new principles of CLR and .NET Framework.

I want to be able to call this DLL from my existing ASP pages not ASPX. They
are spread over many websites so I need to have this DLL is one common
place.

Now obviously, I can't register the DLL using regsvr32, so the principle of
Server.CreateObject is out I think.

Does anyone know of how I can use this DLL in my webpages without converting
them all to ASPX.

Regards and thanks in advance, and I apologise now for reposting in various
places before anyone tells me off
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
ASP works with COM.COM can work with .NET DLL using RCW and CCW.I think
you have to think in that angle...

Regards
Shiv
C#, VB.NET , SQL SERVER , UML , DESIGN Patterns Interview question book
http://www.geocities.com/dotnetinterviews/

Nov 21 '05 #2

P: n/a
1. Right click on your DLL project
2. Configuration properties --> Build
3. Check "Register for Com interop"
4. Apply > Ok

Hope this helps.

Happy programming
-James A Taber
http://snappys.net
"MC" <ne*******@mccoms.com> wrote in message
news:uK**************@TK2MSFTNGP09.phx.gbl...
Hi all

I have created a .NET DLL in VB.NET. My first and very proud.

Now i understand the new principles of CLR and .NET Framework.

I want to be able to call this DLL from my existing ASP pages not ASPX.
They are spread over many websites so I need to have this DLL is one
common place.

Now obviously, I can't register the DLL using regsvr32, so the principle
of Server.CreateObject is out I think.

Does anyone know of how I can use this DLL in my webpages without
converting them all to ASPX.

Regards and thanks in advance, and I apologise now for reposting in
various places before anyone tells me off

Nov 21 '05 #3

P: n/a
Hi,

In addition to the other comments you need to use regasm.exe to
register a dot net dll

http://msdn.microsoft.com/library/de...lregasmexe.asp

Ken
------------------
"MC" <ne*******@mccoms.com> wrote in message
news:uK**************@TK2MSFTNGP09.phx.gbl...
Hi all

I have created a .NET DLL in VB.NET. My first and very proud.

Now i understand the new principles of CLR and .NET Framework.

I want to be able to call this DLL from my existing ASP pages not ASPX.
They are spread over many websites so I need to have this DLL is one
common place.

Now obviously, I can't register the DLL using regsvr32, so the principle
of Server.CreateObject is out I think.

Does anyone know of how I can use this DLL in my webpages without
converting them all to ASPX.

Regards and thanks in advance, and I apologise now for reposting in
various places before anyone tells me off

Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.