Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB.net Component, Use in ASP

Status
Not open for further replies.

davecapone

Programmer
Oct 3, 2000
48
US
Hi,

I recently upgraded to VB.net and went to create a COM object component I could use in an ASP application. After doing a little searching I found the "CLass Library" to be the COM Object dll equivalent frm vb 6. Spent a few hours programming the DLL and have compiled it. Now my lack of thinking ahead has got me in a minor bind, I think. Is it possible to use DLL object created in vb.net like standard COM in ASP (NOT ASP.NET) or do I need to downgrade and re-write the component in order for this to work? Anyone know of a way to use .net to compile is an older format? What if I re-created the component in VC++.net or VC#.net and compiled as a DLL, would this allow it to function as a standard COM object for use with straight ASP? I'm looking for a way to compile it so I use it as follows:

set obj=serer.createobject("myobject.class")
obj.method()
set obj=nothing

I appreciate any assistance, insight, references, I can get on this issue, as I prefer not to have to downgrade and also do not feel like upgrading my entire site to asp.net at this time.

Regards,
David Capone
 
I have been learning VB.net asp.net and C# by Learnkey training and Keystone also APP dev

using VB6 Dll object to Vb.net or ASP.net is FIne as .net has an intermediate process that translates the code to IL
when u reference the oject

IM not 100% sure on this but i think you can not call .net objects from VB6 or ASP

But i am at work right now let me get home and research into this
A very good question


Rishi
mcsd,mcdba,mcp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top