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

Registering ActiveX OCX on Windows2000

Status
Not open for further replies.

volkoff

Programmer
Mar 3, 2001
23
RU
Hello.
My application consits of a few activeX controls (implemented in OCX). When I register it on WindowsNT4.0 machine my application works fine. When I register it W2K machine it works fine under Administrator account. When I try use it under user (wich not a member of PowerUsers group) it does not work. When I include the user in group PowerUser it works fine. And, surprisly for me, when I exlude the user from PowerUser group, me application works fine again.
Users on the machine can't write registry excluding HKEY_CURRENT_USER.
Any ideas?
 
Did Try to use CODEBASE and TYPE property of the Object Tag?
Code:
<OBJECT id=MyObj type=&quot;application/x-oleobject&quot;  classid=&quot;clsid:put here your class id of the object&quot;
  codebase=&quot;yourocx.ocx#Version=put here your version&quot;
>


U can put any version u want(Version=1.1.1.0) but if u change it(Version=1.1.1.10) the control is automatically downloaded and registered again
hope this helps... ________
George, M
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top