How to ship Property OCX control with Application? |
Post Reply |
Author | |
saurav_nielsen
Newbie Joined: 23 October 2009 Location: Canada Status: Offline Points: 9 |
Post Options
Thanks(0)
Posted: 11 January 2010 at 9:39am |
We are using Property Grid Control OCX in our application.
We added the OCX control in our installer(InstallShield) but somehow the OCX is not getting installed using our installer. We want to distribute our application with the OCX, how can we install OCX in User system using our installer?
Are we missing any steps for correctly adding OCX to Install Shield?
|
|
saurav
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Do you register the ocx?
|
|
saurav_nielsen
Newbie Joined: 23 October 2009 Location: Canada Status: Offline Points: 9 |
Post Options
Thanks(0)
|
Thought the installer should do it (InstallShield).
|
|
saurav
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
what error do you get? what version of visual studio?
|
|
saurav_nielsen
Newbie Joined: 23 October 2009 Location: Canada Status: Offline Points: 9 |
Post Options
Thanks(0)
|
The Property Grid Dialog created in our application does not get invoked. We are using Visual Studio 2005.
if we install code jock Ocx with setup exe it is working fine. we just add the ocx into the installer Codejock.PropertyGrid.v13.1.0.ocx. it is getting registered. but MFC application not able to invoke this. do we need to include any other dlls of code jock in our installer
|
|
saurav
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
do you embed the license information?
http://codejock.com/support/articles/com/general/g_3.asp |
|
saurav_nielsen
Newbie Joined: 23 October 2009 Location: Canada Status: Offline Points: 9 |
Post Options
Thanks(0)
|
We are using the Property Grid ActiveX Control from C# Dialog as well as MFC Dialog.
While creating the Property grid in C# Dialog we didn't had any problem and we didn't embed any license info, not sure if interop is doing anything in the background.
But in MFC, while we are using Create method for property grid control we are getting Error Message as "Class is not licensed for use". We tried passing our license info in the argument bstrLickey of Create in following format -
"Property Grid Control Copyright (c) 2003-2009 Codejock Software
PRODUCT-ID: Codejock.PropertyGrid.ActiveX.v13.1 VALIDATE-CODE: XXX-XXX-XXX-XXX" But this didn't work. |
|
saurav
|
|
saurav_nielsen
Newbie Joined: 23 October 2009 Location: Canada Status: Offline Points: 9 |
Post Options
Thanks(0)
|
Can you explain how to embed license info via MFC as explain in the link provided in previous comment?
Do we need to modify the Create object for Property Grid in some way?
|
|
saurav
|
|
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 |