Build ActiveX DLL for Classic ASP in Visual Studio .Net?

G

Guest

I have a need to create a classic 'binary download from outside the document
root' application. This needs to be built for classic ASP pages. I've built
the code from the MS KB article. When I do this in Visual Studio .net, I can
find the .dll file, but I really have no idea whether it is correct or not.
I've built this as a class library, thinking that that was probably the right
thing to do.

When I try to run regsvr32 on it, I get this error:
'The file was loaded, but the DllRegisterServer entrypoint was not found.'
I have made the 'Register COM for Interop' changes in the Configuration
Properties

And I really have no idea how to use Component Services to do anything,
other than click the plus signs...

This is slightly off topic, but I would really appreciate any help anyone
can give me at this popint.
Thanks very much.

David
 
M

m.posseth

Hello David


Your project needs a sub new ( even if it is empty ) in the creatable class
, you should register the assembly with regasm instead of regsvr32

hth

Michel Posseth [MCP]
 

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