<?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 : problems with multiple resources</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : problems with multiple resources]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 09:59:55 +0000</pubDate>
  <lastBuildDate>Tue, 21 Nov 2006 13:37:48 +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=5559</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[problems with multiple resources : Hi,Those objects are passed by...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5559&amp;PID=17519&amp;title=problems-with-multiple-resources#17519</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 5559<br /><strong>Posted:</strong> 21 November 2006 at 1:37pm<br /><br />Hi,<br><br>Those objects are passed by reference.<br>You have to create a separate object for each resource...<br><br><div><span style="font-family: 'Arial'; font-size: 12px; color: rgb(0, 0, 255); : transparent;"><table width="99%"><tr><td><pre class="BBcode"></span></div><div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Call CalendarControl.PropGetDataProvider( CalenderDataProvider )</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Call CalendarControl.PropGetMultipleResources( ICalendarResources )</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"> </span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Call ICalendarResources.PropGetItem( 0, ICalendarResource )</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Call ICalendarResource.PropGetScheduleIDs( CalendarScheduleIDs )</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Call CalendarScheduleIDs.Add( 1 )</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Call ICalendarResource.PropSetName( 'A')</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Call ICalendarResources.Add( ICalendarResource )</span><span style="font-family: 'Arial'; font-size: 12px; color: rgb(0, 0, 255); : transparent;"> </span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"> </span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 128, 0); : transparent;">' creaate new resource object here</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 128, 0); : transparent;">' also you can yse CreateObject like: </span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 128, 0); : transparent;">' </span><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 128, 0); : transparent;">set </span><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 128, 0); : transparent;">ICalendarResource </span><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 128, 0); : transparent;">= CreateObject("Codejock.CalendarResource.10.3.1")</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"> </span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(128, 0, 0); : transparent; font-weight: bold;">set ICalendarResource = new CalendarResource</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"> </span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Call ICalendarResources.PropGetItem( 1, ICalendarResource )</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Call ICalendarResource.PropGetScheduleIDs( CalendarScheduleIDs )</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Call CalendarScheduleIDs.Add( 2)</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Call ICalendarResource.PropSetName( 'B')</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Call ICalendarResources.Add( ICalendarResource )</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Call CalendarControl.SetMultipleResources( ICalendarResources )</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Call CalendarControl.RedrawControl(  )</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Call CalendarControl.Populate(  )</span></div></div></pre></td></tr></table><br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Tue, 21 Nov 2006 13:37:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5559&amp;PID=17519&amp;title=problems-with-multiple-resources#17519</guid>
  </item> 
  <item>
   <title><![CDATA[problems with multiple resources : hello, we have a problem.  we...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5559&amp;PID=17463&amp;title=problems-with-multiple-resources#17463</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2521">mario.painsi</a><br /><strong>Subject:</strong> 5559<br /><strong>Posted:</strong> 20 November 2006 at 4:48am<br /><br />hello, we have a problem.<DIV>&nbsp;</DIV><DIV>we are working with gupta.</DIV><DIV>we want to make a calender but we have problems with the multiple resources.</DIV><DIV>&nbsp;</DIV><DIV>the code for one resource&nbsp;is working:</DIV><DIV>&nbsp;</DIV><DIV>Call CalendarControl.PropGetDataProvider( CalenderDataProvider )<BR>Call CalendarControl.PropGetMultipleResources( ICalendarResources )<BR></DIV><DIV>Call ICalendarResources.PropGetItem( 0, ICalendarResource )<BR>Call ICalendarResource.PropGetScheduleIDs( CalendarScheduleIDs )<BR>Call CalendarScheduleIDs.Add( 1 )<BR>Call ICalendarResource.PropSetName( 'A')<BR>Call ICalendarResources.Add( ICalendarResource )<BR></DIV><DIV>Call CalendarControl.SetMultipleResources( ICalendarResources )<BR>Call CalendarControl.RedrawControl(&nbsp; )<BR>Call CalendarControl.Populate(&nbsp; )</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>but, when we want to add a second or more, we only see the last resource, for example:</DIV><DIV>&nbsp;</DIV><DIV><DIV>Call CalendarControl.PropGetDataProvider( CalenderDataProvider )<BR>Call CalendarControl.PropGetMultipleResources( ICalendarResources )<BR></DIV><DIV>&nbsp;</DIV><DIV>Call ICalendarResources.PropGetItem( 0, ICalendarResource )<BR>Call ICalendarResource.PropGetScheduleIDs( CalendarScheduleIDs )<BR>Call CalendarScheduleIDs.Add( 1 )<BR>Call ICalendarResource.PropSetName( 'A')<BR>Call ICalendarResources.Add( ICalendarResource )<BR></DIV><DIV>Call ICalendarResources.PropGetItem( 1, ICalendarResource )<BR>Call ICalendarResource.PropGetScheduleIDs( CalendarScheduleIDs )<BR>Call CalendarScheduleIDs.Add( 2)<BR>Call ICalendarResource.PropSetName( 'B')<BR>Call ICalendarResources.Add( ICalendarResource )<BR></DIV><DIV>Call CalendarControl.SetMultipleResources( ICalendarResources )<BR>Call CalendarControl.RedrawControl(&nbsp; )<BR>Call CalendarControl.Populate(&nbsp; )</DIV><DIV>&nbsp;</DIV><DIV>we only see 'B'.</DIV><DIV>&nbsp;</DIV><DIV>can you help us.</DIV><DIV>thanks</DIV><BR></DIV>]]>
   </description>
   <pubDate>Mon, 20 Nov 2006 04:48:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5559&amp;PID=17463&amp;title=problems-with-multiple-resources#17463</guid>
  </item> 
 </channel>
</rss>