<?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 : Different number of resources</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Different number of resources]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 28 May 2026 13:00:43 +0000</pubDate>
  <lastBuildDate>Fri, 25 Jun 2010 10:40: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=16876</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[Different number of resources : Version in use: ActiveX CalendarControl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16876&amp;PID=59104&amp;title=different-number-of-resources#59104</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6179">RK007</a><br /><strong>Subject:</strong> 16876<br /><strong>Posted:</strong> 25 June 2010 at 10:40am<br /><br />Version in use: ActiveX CalendarControl 13.4.0<br><br>I have a Calendar that can show the appointments of different users. From a list I can select the users for whom to show the Calendar.<br>The appointments are added with the CalendarResourcesManager.<br>When the users are changed, first all existing resources are removed before adding the appointments for the newly selected users.<br><br>Everything seems to be working fine, but when I remove all the resources I get different results for the number of resources.<br>I remove the resources with a construction like I found somewhere on the forum:<br><br>&nbsp;&nbsp;&nbsp; Do Until g_DataResourcesMan.<span ="highlight">ResourcesCount</span> = 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; g_DataResourcesMan.RemoveResource (0)<br>&nbsp;&nbsp;&nbsp; Loop<br><br>Besides this part I also remove all schedules manually.<br><br><br>When I try the receive the number of resources with the CalendarResourcesManager the resourcescount tells me that I have 0 resources.<br>When I retrieve this information via DataProvider.multipleresources.count it tells me that there is still 1 resource.<br>Although the last one is actually true (I can get information from one of my users with HitTest), I should have expected that the result should be 0 in both cases.<br><br>Anybody any idea why I see this difference?<br>]]>
   </description>
   <pubDate>Fri, 25 Jun 2010 10:40:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16876&amp;PID=59104&amp;title=different-number-of-resources#59104</guid>
  </item> 
 </channel>
</rss>