CadViewX StRg() method not working
Moderators: SDS, support, admin
CadViewX StRg() method not working
Hello,
I run the code below
However, I can't get my product registered. Every time I run CadViewX it still prompt me for the registration. I've used the same name,email and key in my developer PC so I'm sure my product keys are working.
Please advise how to register the product programatically. Thank you.
I run the code below
Code: Select all
public Register()
{
AxCADViewLib.AxCADViewX cadviewx1 = new AxCADViewLib.AxCADViewX();
cadviewx1.CreateControl();
cadviewx1.StRg("my name", "myemail@email.com", "my_key");
}
Please advise how to register the product programatically. Thank you.
Re: CadViewX StRg() method not working
Hello,
At first look, your code is correct. Could you try to enter the registration data in CADViewX Pro Registration Dialog window?
Mikhail
At first look, your code is correct. Could you try to enter the registration data in CADViewX Pro Registration Dialog window?
Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: CadViewX StRg() method not working
Hello,
Yes I've tried to enter the registration data in CADViewX Pro Registration Dialog window. It worked. But I couldn't do this to every user PC.
Thanks
Yes I've tried to enter the registration data in CADViewX Pro Registration Dialog window. It worked. But I couldn't do this to every user PC.
Thanks
Re: CadViewX StRg() method not working
I think it's not a good way to expose the register key to users, especially projects using HTML and Javascript to call the control. I suggest a popup dialog while the control is unregistered.
Re: CadViewX StRg() method not working
There is a trial text which is displayed on top of the loaded drawing if the control (CADViewX Lite) is unregistered:
CADViewX - Evaluation version,
purchase CADViewX on cadsofttools.com
Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: CadViewX StRg() method not working
But is there a link or button users can click to call the register dialog when they see the text? I know there is parameter [SelfPopupMenu] can hide the "right-click" menu include register option, in this case, system admin could not register the control easily.
Re: CadViewX StRg() method not working
Hello,
It is possible to call the Registration Dialog programmatically:
Mikhail
It is possible to call the Registration Dialog programmatically:
Code: Select all
cadviewx1.DoToolButtonClick(CADViewLib.TxToolButton.tbRegister);
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support