Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Crash on populate
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Crash on populate

 Post Reply Post Reply
Author
Message
mhe240 View Drop Down
Newbie
Newbie


Joined: 15 June 2010
Location: United States
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote mhe240 Quote  Post ReplyReply Direct Link To This Post Topic: Crash on populate
    Posted: 15 June 2010 at 6:52pm
Crash on populate
When I set a event to all day event I'm getting a crash.
I'm using a custom data provider.


Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 16 June 2010 at 10:02am
What is the error you get?
Back to Top
mhe240 View Drop Down
Newbie
Newbie


Joined: 15 June 2010
Location: United States
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote mhe240 Quote  Post ReplyReply Direct Link To This Post Posted: 16 June 2010 at 10:46am
   Run-time error '2147417848 (80010108)':
   Method 'Populate' of object '_DCalendar Control' failed

This was a error that was raised.


The Method 'Populate' can sometimes change to a Method 'Redraw'(not sure exact spelling) instead.  Currently, the program crashes without a error message when cal.Populate is called.

Setting the AllDayEvent flag to false and the event loads in the calendar, but when any event has AllDayEvent set to true, it crashes on populate.
Back to Top
mhe240 View Drop Down
Newbie
Newbie


Joined: 15 June 2010
Location: United States
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote mhe240 Quote  Post ReplyReply Direct Link To This Post Posted: 16 June 2010 at 12:05pm
'    lTheme.DayView.Day.Group.MultiDayEvent.HeightFormula.Constant = 0
'    lTheme.DayView.Day.Group.MultiDayEvent.HeightFormula.Multiplier = 0
'    lTheme.DayView.Day.Group.MultiDayEvent.HeightFormula.Divisor = 1
'    lTheme.DayView.Day.Group.SingleDayEvent.HeightFormula.Constant = 0
'    lTheme.DayView.Day.Group.SingleDayEvent.HeightFormula.Multiplier = 0
'    lTheme.DayView.Day.Group.SingleDayEvent.HeightFormula.Divisor = 1

I have solved the problem, it had to do with these settings in the theme object being used by the calendar. 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.