Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Property Grid
  New Posts New Posts RSS Feed - How to ship Property OCX control with Application?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to ship Property OCX control with Application?

 Post Reply Post Reply
Author
Message
saurav_nielsen View Drop Down
Newbie
Newbie


Joined: 23 October 2009
Location: Canada
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote saurav_nielsen Quote  Post ReplyReply Direct Link To This Post Topic: How to ship Property OCX control with Application?
    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
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 11 January 2010 at 1:57pm
Do you register the ocx?
Back to Top
saurav_nielsen View Drop Down
Newbie
Newbie


Joined: 23 October 2009
Location: Canada
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote saurav_nielsen Quote  Post ReplyReply Direct Link To This Post Posted: 11 January 2010 at 2:09pm
Thought the installer should do it (InstallShield).
saurav
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 11 January 2010 at 2:21pm
what error do you get?  what version of visual studio?
Back to Top
saurav_nielsen View Drop Down
Newbie
Newbie


Joined: 23 October 2009
Location: Canada
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote saurav_nielsen Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 11 January 2010 at 3:22pm
do you embed the license information?

http://codejock.com/support/articles/com/general/g_3.asp
Back to Top
saurav_nielsen View Drop Down
Newbie
Newbie


Joined: 23 October 2009
Location: Canada
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote saurav_nielsen Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
saurav_nielsen View Drop Down
Newbie
Newbie


Joined: 23 October 2009
Location: Canada
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote saurav_nielsen Quote  Post ReplyReply Direct Link To This Post 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?
 
 
Do we need to modify the Create object for Property Grid in some way?
saurav
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.