How to use .Net user control in regular ASP

  • Thread starter Thread starter pargat.singh
  • Start date Start date
P

pargat.singh

Hi Everyone:

I have a reguirement to develope a user control in .Net and to use
in our portal page which is developed in regular ASP.

Is this possible and if yes can someone please give me some example or
point me to some usefull line.

Lots of thanks in advance.

Pargat Gill
 
You have to create a COM wrapper for the .NET Assembly (DLL for simplicity).
You do this with tlbexp.exe. You can then use as a COM object. NOTE: You
still have to have the .NET Framework on the machine, even though there is a
wrapper to use from ASP/COM.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
 
You can use .NET assemblies from ASP by registering your DLL for COM
clients using the Assembly Registration Tool (regasm.exe)

More info here:
msdn.microsoft.com/library/en-us/cptools/html/cpgrfAssemblyRegistrationToolRegasmexe.asp
 
Back
Top