Register CalendarControl |
Post Reply |
Author | |
simus
Groupie Joined: 08 July 2005 Status: Offline Points: 43 |
Post Options
Thanks(0)
Posted: 21 January 2008 at 8:44am |
Hi,
I have an application that uses the ActiveX CalendarControl 11.2 and use the CalendarThemeOffice2007 to get the Office style. I have created a setup program to install my application where I copy the CalendarControl in windows system32 folder and register it using regsvr32. After a shutdown when I start my application I have a problem when opening a form with the CalendarControl when I do the following :
if I then redo a regsvr32 on the activeX a second time then the application will work well. Moreover, if i remove the 2007 style then it works directly without making a re-register. Does anyone have an idea on what's going on? Thanks a lot!! |
|
wlcabral
Groupie Joined: 25 April 2007 Location: Brazil Status: Offline Points: 72 |
Post Options
Thanks(0)
|
I don't know if it helps, but, in my case (MS foxpro) I need to specify the full name :
pTheme = createobject ("Codejock.DatePickerThemeOffice2007.11.2.2") and I ALWAYS needed to uninstall the old version before install the new one. |
|
wlcabral
|
|
simus
Groupie Joined: 08 July 2005 Status: Offline Points: 43 |
Post Options
Thanks(0)
|
Thanks I will try.
but it is very strange indeed. If the ActiveX is already present on the system and registered, a reregister will generate the same problem. I will make a sample project and send that to support thanks anyway |
|
mosaic
Newbie Joined: 25 March 2008 Status: Offline Points: 1 |
Post Options
Thanks(0)
|
hello,
I have same problem than you , could you explain if you resolve this problem ? thanks
|
|
simus
Groupie Joined: 08 July 2005 Status: Offline Points: 43 |
Post Options
Thanks(0)
|
Hi,
In fact I did an application that : - Get the path of the OCX registered for CalendarThemeOffice2007 - Read in the file its version - if version < than the one I required - Unregister the ocx - Register the version I need This stand-alone application I launch it each time I startup my real application. I did not find a better solution. |
|
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 |