Instantiating CalendarEvent in PB17 |
Post Reply |
Author | |
JHess
Newbie Joined: 06 March 2018 Location: Phoenix, AZ Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 06 March 2018 at 5:28pm |
I'm working with the demo version of Calendar, v18.3. So far I am unable to instantiate the CalendarEvent class. I found this statement in a sample project from v13.1 (sometime in 2009). It fails saying the file is not found which makes sense because the class name is not a file. Perhaps it was at one point. rc = iOleEvent.ConnectToObject("Codejock.CalendarControl.CalendarEvent.18.3.0") I tried the same statement like this to force the class name. The result is class name not found. rc = iOleEvent.ConnectToObject("", "Codejock.CalendarControl.CalendarEvent.18.3.0") Looking at the documentation, the CalendarEvent class does not appear to be a subclass of CalendarControl. So, I tried these with no success: rc = iOleEvent.ConnectToObject("Codejock.CalendarEvent.18.3.0") rc = iOleEvent.ConnectToObject("", "Codejock.CalendarEvent.18.3.0") Finally, I decided to just create a new object with these attempts, but I still receive a response of class name not found. rc = iOleEvent.ConnectToNewObject("Codejock.CalendarEvent.18.3.0") rc = iOleEvent.ConnectToNewObject("Codejock.CalendarControl.CalendarEvent.18.3.0") These statements work: rc= OleCalendarDialog.ConnectToNewObject("Codejock.CalendarDialogs.18.3.0") rc= iOleEvent.ConnectToNewObject("Codejock.CalendarThemeOffice2007.18.3.0") Any guidance would be helpful. Thank you |
|
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 |