Print Page | Close Window

How to ship Property OCX control with Application?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=15983
Printed Date: 27 November 2024 at 1:45pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to ship Property OCX control with Application?
Posted By: saurav_nielsen
Subject: How to ship Property OCX control with Application?
Date 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



Replies:
Posted By: SuperMario
Date Posted: 11 January 2010 at 1:57pm
Do you register the ocx?


Posted By: saurav_nielsen
Date Posted: 11 January 2010 at 2:09pm
Thought the installer should do it (InstallShield).

-------------
saurav


Posted By: SuperMario
Date Posted: 11 January 2010 at 2:21pm
what error do you get?  what version of visual studio?


Posted By: saurav_nielsen
Date Posted: 11 January 2010 at 3:06pm
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


Posted By: SuperMario
Date Posted: 11 January 2010 at 3:22pm
do you embed the license information?

http://codejock.com/support/articles/com/general/g_3.asp


Posted By: saurav_nielsen
Date Posted: 11 January 2010 at 4:16pm
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


Posted By: saurav_nielsen
Date Posted: 13 January 2010 at 9:19am
Can you explain how to embed license info via MFC as explain in the link provided in previous comment?
 
http://codejock.com/support/articles/com/general/g_3.asp - http://codejock.com/support/articles/com/general/g_3.asp
 
Do we need to modify the Create object for Property Grid in some way?


-------------
saurav



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net