How to use .Net user control in regular ASP

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
 
C

Cowboy \(Gregory A. Beamer\)

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.
 
C

Chris Fulstow

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,099
Messages
2,570,626
Members
47,237
Latest member
David123

Latest Threads

Top