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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Downloading ActiveX component on web pages

Status
Not open for further replies.

Achilles24

Programmer
Nov 2, 1999
1
US
Anyone?<br>

<br>

I am currently using ActiveX component in our intranet web page, my problem is when i'm trying to access the web page with ActiveX component, the control (ActiveX) doesn't appear. The ActiveX control i'm using is the Microsoft DateTime Picker control. Please help me.
 
You need to ensure that the computers that are accessing your page have the DateTimePicker registered on their computers. <br>If not then what you can do is to modify the html to point at a location to download the control from. <br>To do this look at the &lt;object&gt; tags for the DateTimePicker control. There should be a 'Codebase' parameter if not add one. Set the value of this parameter to the URL of the location that the control is available from. This can be a location on your intranet.<br><br><br>Hope this helps
 
The solution provided by Vince will definitely solve ur problem.The code will be something like....<br><br>&lt;OBJECT<br>ID=&quot;DateTimePicker&quot; CLASSID=&quot;CLSID:D447C29F-7D13-4E84-A154-E569F487A6DB&quot; codebase=&quot; URL &quot; width=&quot;14&quot; height=&quot;14&quot;&gt;<br>&lt;/OBJECT&gt;<br><br>Hope this will help you out.<br><br>Anand.
 
Hi,
Should the CODEBASE point to a OCX file or a CAB file ?

Thank you in advance.

RR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top