ActiveX Registration

G

Guest

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?
 
R

Rodrigo Corral [MVP]

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 DllRegisterSever
function exported by your ActiveX.

Second option: The client can call DllRegisterSever 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/issues/05/04/RegFreeCOM/default.aspx


--
Un saludo
Rodrigo Corral González [MVP]

FAQ de microsoft.public.es.vc++
http://rcorral.mvps.org
 
G

Guest

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 DllRegisterServer?
 
R

Rodrigo Corral [MVP]

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.public.es.vc++
http://rcorral.mvps.org
 

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