<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : _DCalendarControl Failed</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : _DCalendarControl Failed]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 06 Apr 2026 22:30:31 +0000</pubDate>
  <lastBuildDate>Mon, 22 Aug 2016 20:35:43 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=23107</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[_DCalendarControl Failed : Hello Guys,  I am a newbie on...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23107&amp;PID=74990&amp;title=dcalendarcontrol-failed#74990</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9071">jhonmacaraig</a><br /><strong>Subject:</strong> 23107<br /><strong>Posted:</strong> 22 August 2016 at 8:35pm<br /><br />Hello Guys,<div>&nbsp; &nbsp; &nbsp;I am a newbie on this CalendarControl</div><div>I am trying to setup a multiple resource. Here is the issue.</div><div><br></div><div>&nbsp; If CalendarControl.MultipleResources.Count &gt; 1 Then</div><div>&nbsp; &nbsp; &nbsp; Dim arRes As New CalendarResources</div><div>&nbsp; &nbsp; &nbsp; arRes.RemoveAll</div><div><span style="line-height: 1.4;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; For Index = 1 To CalendarControl.MultipleResources.Count - 1</span></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Set oResource = CalendarControl.MultipleResources.Item(Index)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim staffID As String</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; staffID = oResource.ScheduleIDs(0)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; hasEvent = PPmpModule.CheckEventExists(staffID, ViewDay.Date)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If (hasEvent) Then</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; arRes.Add CalendarControl.MultipleResources.Item(Index)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End If</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Next</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If arRes.Count &gt; 0 Then</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ViewDay.SetMultipleResources arRes</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Else</div><div><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//so what i want to happen is that &nbsp;i want to set the multipleresource to zero since i don't have an appointment. The problem right now it's throwing an exception when try to set</b></div><div><b>&nbsp; &nbsp; &nbsp;&nbsp;</b><b><div style="display: inline !imant;">&nbsp; &nbsp; &nbsp; &nbsp;<br></div></b><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ViewDay.setMultipleResource &nbsp;to new instance or nothing</b></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End If</div><div><span style="line-height: 1.4;">&nbsp; &nbsp; &nbsp;End If</span><span style="line-height: 1.4;"></span></div><div><span style="line-height: 1.4;">So it's throwing an exception&nbsp;</span><b>_DCalendarControl Failed </b>&nbsp;on Calendar.Populate.</div><div><br></div><div>Hope someone could look on to this.</div><div><br></div><div>Sincerely yours,</div><div><br></div><div>Hhon</div>]]>
   </description>
   <pubDate>Mon, 22 Aug 2016 20:35:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23107&amp;PID=74990&amp;title=dcalendarcontrol-failed#74990</guid>
  </item> 
 </channel>
</rss>