473,569 Members | 2,463 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 DllRegisterServ er 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 2987
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***@discussi ons.microsoft.c om> wrote in message
news:08******** *************** ***********@mic rosoft.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 DllRegisterServ er 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
2874
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 the web application is used. This is to provide immediate access to functionality for e.g. Stopwatches used by the application. I know that you can...
2
4363
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 files containing some templates: adjacency_list.hpp and mem_fn.hpp can not compile. Does anyone have any solutions?
0
1910
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. In this class is a single public method that returns the string "Hello from C sharp". My VB6 ActiveX DLL references the C# DLL...
14
1876
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: http://mail.python.org/pipermail/python-list/2004-July/229096.html I don't think I fully understand the reason why additional .pyd modules were built into the .dll. OTOH, this does not help anyone, since: -...
2
2868
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 visual studio 2003 or 2005 other than visual basic 6 or visual c++ ??
0
1088
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 ActiveX component to the tool bar it appears as a grayed out icon. I can not seem to find a way to make the tool active so I can use it on a web form. ...
4
6237
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 version to build successfully. Unfortunately, it crashes right away when I start it. So now I need to build the debug version. Unfortunately, the...
1
4283
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 Road.ocx than on every computer with no Visual Studio 2005 the following error occurs: "Load Library failed / This application has failed to start...
28
2712
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 platform (e.g. Windows XP SP2). Now I am researching how to build my code for 64-bit platform (e.g. Windows 2003 Server 64-bit R2)? Any options I need...
0
7703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7618
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7982
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6286
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5222
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3656
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1226
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
944
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.