Deployment files for the DockingPane ocx |
Post Reply |
Author | |
farhanzia
Newbie Joined: 10 January 2004 Location: Pakistan Status: Offline Points: 8 |
Post Options
Thanks(0)
Posted: 15 January 2004 at 6:36am |
Hello, can somebody please confirm the list of files needed for the deployment of DockingPane ocx control. 1. DockingPane.ocx |
|
Boyd
Senior Member Joined: 08 December 2003 Location: United States Status: Offline Points: 285 |
Post Options
Thanks(0)
|
You should only deploy the OCX file. The LIC file is used in the development environment only.
|
|
farhanzia
Newbie Joined: 10 January 2004 Location: Pakistan Status: Offline Points: 8 |
Post Options
Thanks(0)
|
I have a piece of code in my software where I have created an object of Docking Pane. I used the following code to do so... Dim objDockingControl As Object Any help in this regards? |
|
Boyd
Senior Member Joined: 08 December 2003 Location: United States Status: Offline Points: 285 |
Post Options
Thanks(0)
|
Is there a particular reason you're using the object this way? Just drop the object on your form and that's all you need to do. Take a look at some of the sample projects using the DockingPane. |
|
farhanzia
Newbie Joined: 10 January 2004 Location: Pakistan Status: Offline Points: 8 |
Post Options
Thanks(0)
|
Yes there is a particular reason for this. I am releasing this version of my software (in which I have used Xtreme Pane) as a web update. So, it won't be available to my users as a setup program. I have to ship the "DockingPane.ocx" file through web update along with my exe. So, I gotta check through code that if the ocx file is registered at the user's machine and if not, they should download the update. After which I register it through my exe code at startup. Now if I try registering it without the "DockingPane.lic" file, it throws me an error that ActiveX component can't create object. Please comment if I am doing something wrong and if the lic file can be eliminated somehow. And if it is needed, then these 2 are the only files I need to distribute.
|
|
Boyd
Senior Member Joined: 08 December 2003 Location: United States Status: Offline Points: 285 |
Post Options
Thanks(0)
|
Thanks for the added explanation. I've never worked on deploying an application this way, but I don't understand why you would need the LIC file. My understanding is that the LIC file allows you to work with the control in a development environment, so I don't see why you would need to deploy it. I would contact Codejock support. Sorry I couldn't be of better assistance. |
|
farhanzia
Newbie Joined: 10 January 2004 Location: Pakistan Status: Offline Points: 8 |
Post Options
Thanks(0)
|
I have posted this question since so long but never get a reply... I have a build release soon and I am remaining with no other options except to ship the license file (dockingpane.lic) :(
|
|
Boyd
Senior Member Joined: 08 December 2003 Location: United States Status: Offline Points: 285 |
Post Options
Thanks(0)
|
What did Codejock Support say when you contacted them?
|
|
Geoffrey2
Newbie Joined: 08 July 2004 Status: Offline Points: 2 |
Post Options
Thanks(0)
|
This is just a guess but I'll bet it has to do with early binding vs late binding. When you drop the ocx on your form and compile you're early binding and it probably brings in the lic file. When you do the createobject("") you are late binding at runtime and the lic file is needed when the object is created. You can try to early bind it by browsing for the ocx in the references and then doing a set xx = new blabla. That might not be what you want though because you can't dynamically copy in a new ocx file during runtime because it's "bound" to the app. G |
|
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 |