Schedules |
Post Reply |
Author | |
seanic24
Newbie Joined: 12 September 2011 Location: Atkinson Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 12 September 2011 at 2:32am |
I want to use the existing code you have for the Mysql class.
It all works great until I put different schedules on the calendar - the calendarcontrol.populate routine fails to fire the providerMysql class. Please be as simple as possibe because I am ! Public Sub OpenProvider(ByVal eDataProviderType As CodeJockCalendarDataType, ByVal strConnectionString As String) Set m_pCustomDataHandler = New providerMySQL m_pCustomDataHandler.OpenDB strConnectionString m_pCustomDataHandler.SetCalendar CalendarControl CalendarControl.SetDataProvider strConnectionString CalendarControl.DataProvider.CacheMode = xtpCalendarDPCacheModeOnRepeat If Not CalendarControl.DataProvider.Open Then CalendarControl.DataProvider.Create End If 'All works until here Set objCalendar = Me.CalendarControl Set objResources = New CalendarResources objResources.Add CreateResources("test1", 1) objResources.Add CreateResources("Test2", 2) CalendarControl.SetMultipleResources objResources CalendarControl.Populate wndDatePicker.RedrawControl End Sub //VB6 // Windows XP/ 7 // Calendar control V13 |
|
Sean Atkinson
|
|
seanic24
Newbie Joined: 12 September 2011 Location: Atkinson Status: Offline Points: 2 |
Post Options
Thanks(0)
|
Problem solved
The very nice people from software support pointed me to the right area. Thanks a lot |
|
Sean Atkinson
|
|
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 |