Seting License Property in IE |
Post Reply |
Author | |
James27
Newbie Joined: 08 February 2006 Location: United Kingdom Status: Offline Points: 5 |
Post Options
Thanks(0)
Posted: 13 February 2006 at 12:04pm |
Can someone please explain how to set the License property from within IE, either from script or the <Object <Param> /> Tag. Thanks. |
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
James27
Newbie Joined: 08 February 2006 Location: United Kingdom Status: Offline Points: 5 |
Post Options
Thanks(0)
|
Thanks for the info. We are hosting the IE Web Control in a smart client application, all html,xsl etc is stored in a local resource file. The Calendar control is installed as part of the smart client application setup procedure. Normally for IE, you would create a lpk file, containing all the runtime license information for the controls you will be using on the html page. Unfortunately, this can not be accessed from a resource file. See: http://support.microsoft.com/default.aspx?scid=kb; EN-US;q272762 |
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
You can try an alternative solution using CalendarGlobalSettings object.
Try creating it and set CalendarGlobalSettings.License = "xxx". Try also searching this forum for GlobalSettings usage tips. The only problem which may happen is that CalendarGlobalSettings is not signed as safe for scripting. -- WBR, Serge |
|
James27
Newbie Joined: 08 February 2006 Location: United Kingdom Status: Offline Points: 5 |
Post Options
Thanks(0)
|
Good try, but... From script running within IE, how do you access the CalendarGlobalSettings object ? You can create the CalendarControl object, but you do not have access to the CalendarGlobalSettings object and hence the .Licence property. Not that i can see anyway. Any other ideas ? |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
FYI for 9.81: ProgId - Codejock.CalendarGlobalSettings.9.81 Clsid - A40D0F2B-97DE-4F07-891F-E8DFFBF51555 |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
James27
Newbie Joined: 08 February 2006 Location: United Kingdom Status: Offline Points: 5 |
Post Options
Thanks(0)
|
Tried to create CalendarGlobalSettings, but no joy. The script just fails at the point of trying to creating the object. I am using version 9.81 I require the CalendarControl to expose and allow the setting of the License property from within a html page via script, or from the dhtml document. getElementById(“element id”). This html page never sits on a web server, it will go into a resource file. The client application that is hosting the IE ActiveX Web Control then loads the html page from the resource file. Many thanks for the time and effort in trying to resolve this. |
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
html page which loaded from the resource file could contain something like the following code which should help:
-- WBR, Serge |
|
James27
Newbie Joined: 08 February 2006 Location: United Kingdom Status: Offline Points: 5 |
Post Options
Thanks(0)
|
Hi, No that fails, as i said before. I have found a workround to the problem. On the form that is hosting the IE Web Control, place an instance of the CalendarControl, set visible to false. Then in the Form_Initialise event, set the license information as normal. When the Web Control is given some html containing an OBJECT tag for the CalendarControl all works fine, probably because there is already a licensed instance of the CalendarControl up and going but hidden. Not ideal, but at least it works. Maybe in the next version you can come up with a more elegant solution. Anyway, many thanks for your time and efforts. |
|
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 |