ActiveX component versus Java applet

Hello!
 I know Java, and I just have learning
ActiveX.
 When I want to run an applet, I just
download the code and run; no registry
problems.
 I just finished developing an ActiveX
control. It's working fine localy, but I
want to publish it on the Web, having
a Web server on my PC.
How can I do that? The ActiveX component
will access an ActiveX server (on my machine).
 How can I register this component run-time?
Or there is a possibility, that a user having
a normal PC with a normal browser to access
my Web page, and use the included components
without register nothing on the local registry??

tmolnarAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mattdaimonCommented:
You just have to wrote proper html code for example
<object
 classid="clsid:B16553A0-06DB-1018-85B2-0000C0088E05" codebase="http://yoururl.com/directory/activex.ocx"
 id=SomeID
height=300
width=300
>
</object>
 if client has activex with clsid you've wrote it'l be loaded locally,if not it'll be downloaded from you've written in codebase,and 'll be automatically registered and loaded

Also your control should be in read open directory on web-server.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tmolnarAuthor Commented:
And when the downloaded control try to
access with CoCreateInstanceEx an object from the Web server machine,
the object which will be activating, must be registered on the users machine?
0
tmolnarAuthor Commented:
The loaded ActiveX object will be unregistered when the user finish the session (close the browser or navigate to another page)?
0
tmolnarAuthor Commented:
I tried what u told me. On my local machine when I access the Web page (using URL, not opening a file), the control its working. In another machine, if the ocx is not registered,
nothing happen (the ActiveX control doesn't appear), if I register manually the control, the control working patial, when try to connect to an ActiveX object on the WEB server's machine, the server object is activated(on the server machine) , but the CoCreateInstanceEx return error. The security for the server object is set to allow all rights ro everyone. Help!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.