use VB.NET DLL in VB6 or ASP ?

T

Tony

Hi,

I created a DLL using VB.NET(because VB.NET have a few new functions which
VB6 havn't ), and I tried to use this DLL in my ASP pages( we would not dare
to upgrade thousands of those things to ASP.NET yet ), using something like:

set myObject=Server.CreateObject("myObj.ClsDoSomething")

I know if the DLL is created by VB6, I could use "regsvr32" to register it,
but this way does not work for VB.NET DLL, I even can not see this object in
VB6 using "Project's Reference".

I searched in the Newsgroup and find "regasm.exe" mentioned by someone, I
use this tool to register my object, now I can see it in VB6, but all
functions and parameters are not there, and I still can not create object...
my machine has .Net Framework 1.1 installed.

the question is:

Is there a way to use DLL created by VB.NET in VB6 or ASP?

Thanks
 

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

Top