<?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 : Removing all resources</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Removing all resources]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 07:58:04 +0000</pubDate>
  <lastBuildDate>Thu, 04 May 2006 08:20:13 +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=4125</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[Removing all resources :   Yes, that&amp;#039;s true. And...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4125&amp;PID=12656&amp;title=removing-all-resources#12656</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 4125<br /><strong>Posted:</strong> 04 May 2006 at 8:20am<br /><br /><p ="Ms&#111;normal"><span style="" lang="EN-US">Yes, that'strue. And what is the problem?<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="" lang="EN-US">Let me add somenotes:<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="" lang="EN-US">1.Important. <o:p></o:p></span></p><p ="Ms&#111;normal"><span style="" lang="EN-US"><span style="">&nbsp;&nbsp; </span>Do not modifyCalendarControl.MultipleResources collection directly - useSetMultipleResources method.<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="" lang="EN-US"><span style="">&nbsp;&nbsp; </span>See points 3, 4 for reasons.<br><span style="">&nbsp;</span><br>Example:<span style=""> <br>&nbsp;&nbsp; </span>Dim arRes as new CalendarResources<o:p></o:p><br><span style="">&nbsp;&nbsp;&nbsp;&nbsp; </span>&lt;fill new resources configuration&gt;<br><span style="">&nbsp;&nbsp;&nbsp;&nbsp; </span>&lt;use CalendarControl.MultipleResourcesif need&gt;<br><span style="">&nbsp; </span>CalendarControl.SetMultipleResources arRes<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="" lang="EN-US">2.Multiresources is not a separate feature, this is a significant part of CalendarControlkernel.<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="" lang="EN-US"><span style="">&nbsp;&nbsp; </span>CalendarControl.SetDataProvider sets asingle resource with empty schedules ID collection and creates a data providerfor it.<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><o:p></o:p></span></p><p ="Ms&#111;normal"><span style="" lang="EN-US"><span style="">&nbsp;&nbsp; </span>CalendarControl.DataProvider is the same as CalendarControl.MultipleResources&#091;0&#093;.DataProvider<span style="">&nbsp; </span><o:p></o:p></span></p><p ="Ms&#111;normal"><span style="" lang="EN-US"><span style="">&nbsp;&nbsp; </span>So far, a DataProvider lives in a Resource. Thatmeans that each resource can have a separate data provider -- other file or ofany other type (DB, MAPI, CUSTOM).<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="" lang="EN-US">3.CalendarView-s also have MultipleResources and SetMultipleResources members.<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="" lang="EN-US"><span style="">&nbsp;&nbsp; </span>This can be used to have mainresources/schedules configuration in the CalendarControl, and to set a particularconfiguration to each view. If MultipleResources for a view is not set -CalendarControl.MultipleResources are used by a view by default.<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="" lang="EN-US"><span style="">&nbsp;&nbsp;&nbsp; </span>CalendarControl.SetMultipleResources resetsview's MultipleResources.<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="" lang="EN-US">4.CalendarReminders manager works using CalendarControl.MultipleResources. Whenyou call CalendarControl.SetMultipleResources - reminders manager is restartedwith the new configuration.<o:p></o:p></span></p>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Thu, 04 May 2006 08:20:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4125&amp;PID=12656&amp;title=removing-all-resources#12656</guid>
  </item> 
  <item>
   <title><![CDATA[Removing all resources : Hi, I have somewhere in my code...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4125&amp;PID=12620&amp;title=removing-all-resources#12620</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1751">WaaZ</a><br /><strong>Subject:</strong> 4125<br /><strong>Posted:</strong> 03 May 2006 at 12:09pm<br /><br /><P>Hi,</P><P>I have somewhere in my code that i need to erase every thing from the calendar. It was working with the previous version 9.8.2 and also 10.1.1 with </P><FONT size=2><P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Quote" alt="Quote" style="vertical-align: text-bottom;" /> </P><P>CalendarControl.DataProvider.RemoveAllEvents()</P><P></td></tr></table></P><P>Until i have to remove the resources also.. and I used:</P><P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Quote" alt="Quote" style="vertical-align: text-bottom;" /> </P><FONT color=#000000 size=2><P>CalendarControl.MultipleResources.RemoveAll()</P></FONT><P></td></tr></table></P><P>What happen is that the Dataprovider is then set to NULL after i execute this line... Which is wrong since there is no use to do such a thing as far as I see. This may be the case because you set the MultipleResources&#091;counter&#093;.SetProvider(null) maybe or something similar...</P></FONT>]]>
   </description>
   <pubDate>Wed, 03 May 2006 12:09:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4125&amp;PID=12620&amp;title=removing-all-resources#12620</guid>
  </item> 
 </channel>
</rss>