Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OCX on web

Status
Not open for further replies.

easytiger

Programmer
Apr 5, 2001
20
GB
What do I have to upload to the web server to make my ActiveX control download and display within IExplorer?

I tried uploading:
text.ocx
test.htm ( which had the <object id=&quot;DX&quot; width=470 height=330 classid=&quot;clsid:CC771012-9D8A-11D5-BF0F-F057FDA25358&quot;> Tag in tit )

But that only worked on the machine I created the ActiveX control on (Obviously). What do I need to do to get other machines to download the control?
 
Tiger,

I haven't done this on a webserver so bear with me. What I do know however, is that when you register the ActiveX portion (in your case the .ocx) with the machine, it creates several key/values in the registry. The classid=&quot;clsid:CC771012-9D8A-11D5-BF0F-F057FDA25358&quot; points to this location within the registry. Since the webserver is not your machine, you will need to register (via regsvr32.exe if a windows machine) the ActiveX control with the webserver and re-link your test.htm to the registered ActiveX component on the server.

When you register the text.ocx with the webserver, a new classid will be generated on the webserver machine. I am guessing you should be able to replace the classid in the test.htm file with the new classid.

Hope that at least gets you on the right track.

-crater
 
Cheers!

Anyone know how to run Regsvr32 on a webServer if you don't have physical access to it ???
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top