473,508 Members | 2,241 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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

Dec 12 '05 #1
1 2973
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]


"David" <Da***@discussions.microsoft.com> wrote in message
news:08**********************************@microsof t.com...
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

Dec 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2868
by: Jack Man | last post by:
Hello. I need to write a small bit of code for a web application for commercial intranets. A small control panel in a web browser needs to be always visible (i.e in front of other windows) when...
2
4359
by: AIM | last post by:
Error in msvc in building inheritance.obj to build hello.pyd Hello, I am trying to build the boost 1.31.0 sample extension hello.cpp. I can not compile the file inheritance.cpp because the two...
0
1899
by: Craig | last post by:
I am having problems getting an ActiveX DLL written in VB6 to call a method in a C# class library component. My C# DLL is called CSharpProject.dll and contains a public class called CSharpClass....
14
1867
by: Giovanni Bajo | last post by:
Hello, python24.dll is much bigger than python23.dll. This was discussed already on the newsgroup, see the thread starting here:...
2
2865
by: Wael_Bakr | last post by:
I have a dll written in visual basic.net, I need to run this dll on client's machine, so if i need to wrap it as an activex control to be downloaded on client's machine how can i do this using...
0
1084
by: Hank | last post by:
Hello, I am trying to use Visual Web Developer Express to develop a web application. I have an ActiveX component that is a major piece of functionality that I need to use. When I add the...
4
6229
by: nmrcarl | last post by:
I'm trying to upgrade a large project from VS 6.0 to VS 2005. After fixing a lot of things that changed (mostly sloppy coding in the original project that VS2005 didn't allow), I got the release...
1
4279
by: saschkuhn | last post by:
Hy, I created a ActiveX control box in Visual Studio 2005. Now I want to register my active toolbox on systems which has no Visual Studio 2005 on there. If I try to register with ... regsvr32...
28
2707
by: =?Utf-8?B?R2Vvcmdl?= | last post by:
Hello everyone, I am developing C++ COM native code (unmanaged C++) using Visual Studio 2005. I do not take any new features of 64-bit platform, and currently my code runs fine on 32-bit...
0
7123
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7326
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7383
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7046
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7498
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5627
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4707
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3182
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
418
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.