License problem |
Post Reply |
Author | |
blazej
Groupie Joined: 09 February 2005 Location: Canada Status: Offline Points: 53 |
Post Options
Thanks(0)
Posted: 27 July 2010 at 4:41pm |
Hi all,
Here's the problem I have. My user account does not have admin privileges (but I have the password for such account so I can install things). I have a project that uses CommandBars and DockingPane v. 13.1.0. I installed Codejock but when I try to open my form in the Designer (Visual Studio 2008), I get an error about controls not registered. So I register the OCX files manually using regsvr32. Now I can open my form in the Designer. But only one time :-)))) If close the Designer, run the program, and try to re-open the Designer, I get the following: "You must have a license to use this ActiveX control". The only workaround is to: close VS, run the COM Registrator, then re-register manually (why???), re-open VS, open form in Designer, edit form, save. If I want to re-enter into the Designer later, I have to repeat these steps. So it's as if the design license was valid only one time :-) God, I love ActiveX, don't we all? I was hoping that someone could tell me how to fix this permanently. Also, BTW, I can build and run my app at anytime, even if the for doesn't open in the Designer. The app builds and runs fine. Best, Michal |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Sounds very strange. I see only one reason - something always reregister this ActiveX to another path. Maybe you have some code in your project that register it or you have some application that also have CommandBars and reregister it. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
JantjeKeizer
Groupie Joined: 12 February 2008 Status: Offline Points: 70 |
Post Options
Thanks(0)
|
Probably a sandbox issue.
@Oleg Take a look at RegOverridePredefKey and you might want to build in support for local registration per user. Maybe with a checkbox in the registrator. It's very easy to use. You simply map the regkey from HKCR to HKCU\\Software\Classes. Windows automatically scans the user keys first. You don't need administrative privileges that way. |
|
blazej
Groupie Joined: 09 February 2005 Location: Canada Status: Offline Points: 53 |
Post Options
Thanks(0)
|
Hi,
Yes, we are re-registering the components to a different path. But: - This is mostly because the initial "COM Registrator" doesn't seem to be registering them at all. Like I described, after running this program (successfully, I should add) Visual Studio tells me that the ActiveX controls are not registered. So I redo it manually. - For years I've had a different copy of the OCX controls registered on my dev machine, and it's always worked. But if it is really related to the path, we can probably at least find a better workaround :-) Best, Michal |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
so just copy lic file to path you reregister. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |