473,703 Members | 2,355 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ActiveX Registration

I created an ActiveX control using Visual Studio .NET 2003 and will use it
with HTML page , the problem I have that I need not to foce the client to
Register the ActiveX in order to use, i need the registration process to be
done automatically , how can I achieve this?
Nov 17 '05 #1
3 1297
You have three options, the first and the second work in any windows
version, the third only works with XP / 2003

First option: Make a setup program which must call to DllRegisterSeve r
function exported by your ActiveX.

Second option: The client can call DllRegisterSeve r before begin to use
your ActiveX component so you ensure that your component is registrered.
Third option: Use registration free COM
http://msdn.microsoft.com/msdnmag/is...M/default.aspx
--
Un saludo
Rodrigo Corral González [MVP]

FAQ de microsoft.publi c.es.vc++
http://rcorral.mvps.org
Nov 17 '05 #2
May you help me with the first choice.

for the first choice I'm using VS .NET 2003 shoud I create a setup project
or what? and where should I put the DllRegisterServ er?
"Rodrigo Corral [MVP]" wrote:
You have three options, the first and the second work in any windows
version, the third only works with XP / 2003

First option: Make a setup program which must call to DllRegisterSeve r
function exported by your ActiveX.

Second option: The client can call DllRegisterSeve r before begin to use
your ActiveX component so you ensure that your component is registrered.
Third option: Use registration free COM
http://msdn.microsoft.com/msdnmag/is...M/default.aspx
--
Un saludo
Rodrigo Corral González [MVP]

FAQ de microsoft.publi c.es.vc++
http://rcorral.mvps.org

Nov 17 '05 #3
You can use some setup creation application like innosetup or so. There are
many free available. Or you can create a setup project inside VS 2003.
--
Un saludo
Rodrigo Corral González [MVP]

FAQ de microsoft.publi c.es.vc++
http://rcorral.mvps.org
Nov 17 '05 #4

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

Similar topics

0
2761
by: don | last post by:
hello all, msdn says this about using a dotnet windows control library in activex environment... You have to write one relatively small piece of code to make your .NET control accessible to ActiveX hosts. ActiveX controls make several registry entries that standard COM servers don't, so you have to add this functionality to your .NET control. The CLR contains prefabricated functions that will make and remove these entries. These
13
1894
by: Randy Dietz | last post by:
Hi, how can I create a simple non-UI dll or component which will be used by MS Access and .ASP apps which I can build with Visual C++ .net? An example or template which would allow me to paste in C code without learning all the C++ details would be perfect. Thanks, Randy
0
1363
by: Ted | last post by:
I'm using a 3rd party ActiveX control which has it's own constructor and two very methods (which ultimately sends out messages on the server's USB or serial port). I am trying to run this ActiveX component in my ASP.NET applicaiton. For now, I'm testing this application via localhost connection. At first, within the Page_Load method, I successfully instantiate it using the constructor: try { oABC = new ABCClass();
8
1543
by: Alex | last post by:
Hello, I am trying to access some windows components from a web based application and I am having trouble find my way. The only solution seems to be to creat an ActiveX control to access the local com objects. My problem is that I have been primaraly working in C# and too time consuming to go back and re-learn VC++ to creat those controls I need. I found some articles on how to creat ActiveX controls using C# and they work find when I...
0
1076
by: Sunil Menon | last post by:
Dear All, Can we automatically register ActiveX controls on aspx pages? I know that winform controls don't need registration, but they require CLR & .Net runtime installed on the client machines... I would like to register an ActiveX control programatically.... is it possible... Please help... Many Regards Sunil
7
4394
by: Jarod_24 | last post by:
I just downloaded a activex control that was written in C# and tried to view it on my PDA's Internet Explorer. At my regular PC it displayed just fine, but nothing showed up on the pda. Do ActiveX controls that are to be used by a pda need to be written in the ..net compact framework, or am i missing something else here? i have a HP iPaq 2490 with Windows Mobile Premium installed While i'm at it; does a activex control allow you to...
7
2195
by: Khaled Hussein | last post by:
Hi Every body, I am currently working in aproject where I am stuck in merging an ActiveX control (*.ocx) file into a managed Class Library (*.dll). I want to hide the ActiveX Control in this managed Dll, so that even when things are deployed I don't wanna see two files, but only 1 file which is the dll, and it would contain within it, the other ocx file. Is this possible? If yes, then how can I do something like this, I tried to use...
5
2930
by: Michael Maes | last post by:
Hi, We have an ERP-Application that needs to interact with an "external accountancy program". This is acchieved through a "Connector" (ActiveX-dll) so kindly provided by the Accountancy-Program. Our issue however is that there are multiple (current) versions of that connector, each one working only with a certain version of the installed accountancy-program. Of all current versions we use shared (I mean available in all versions, I don't...
4
2429
by: Mr Seth T | last post by:
Hey, I have spent several days trying to find out how to do something, and i don't know if I am blind or what, but I can not find it. I am developing a web app and I need it to run an activex control. I have developed the control and it runs great on my development system (VS2005, C#, IE6, Win2000Pro, output is a DLL) because as far as I can tell, the IDE registers the DLL. The problem is packaging it so it registers itself on any...
0
8755
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8667
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9116
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7860
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6585
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5922
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4685
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2445
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2063
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.