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

ActiveX Version Probs 1

Status
Not open for further replies.

RamHardikar

Programmer
Feb 16, 2001
109
GB
hi,

i hv written an Active-X component (ocx) and deployed on the server. the current version is 15. when i tested it on one pc it worked fine. but on few PCs it doesnt work. it says do u want to dnload the Activex component on ur PC and when i say Yes, it dnloads it on the Pc but doesnt do what it is intended to. when i saw its version it was showing as 1. i dont know from where it is getting that version ?
cud anyone help me ?
 
U have to place in the html the Version of your ocx
Code:
<OBJECT id=MyObj type=&quot;application/x-oleobject&quot;  classid=&quot;clsid:put here your class id of the ocx&quot;
  codebase=&quot;yourocx.ocx#Version=put here your version&quot;
>


U can put any version u want(Version=1) but if u change it(Version=15) the control is automatically downloaded and registered again
hope this helps... ________
George, M
 
the object tag has the latest version. thatz not a prob. my actual prb is it works properly on some PC while it throws an error in some. it doesnt dnload the correct version activex to pc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top