<?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 : AttachToCalendar</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : AttachToCalendar]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 05:10:21 +0000</pubDate>
  <lastBuildDate>Wed, 17 Jan 2007 15:51:09 +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=6141</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[AttachToCalendar : AttachToCalendar() implementation...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6141&amp;PID=19453&amp;title=attachtocalendar#19453</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 6141<br /><strong>Posted:</strong> 17 January 2007 at 3:51pm<br /><br />AttachToCalendar() implementation receives IDispatch pointer to some object - CalendarControl or some auxiliary object. <br>To be sure, implementation calls QueryInterface(IID_DCalendarControl) for this object to retrieve _DCalendarControl.<br>&nbsp;<br>CalendarControl is a class with default interface _DCalendarControl. VB, for example, uses CalendarControl instead of _DCalendarControl.<br>&nbsp;<br>NOTE: For a case when Calendar is not inserted directly, but some wrapper class is used (like in Access or C#) you have to retrieve pointer to CalendarControl object from the wrapper object.<br>&nbsp;<br>For example in Access I have to call: <br><table width="99%"><tr><td><pre class="BBcode"><br>wndDatePicker.AttachToCalendar wndCalendar.Object<br></pre></td></tr></table><br>&nbsp;<br>in C#:<br><table width="99%"><tr><td><pre class="BBcode"><br>CalendarControl pCalendarOcx = ((CalendarControl)(wndCalendarControl.GetOcx())); <br>wndDatePicker.AttachToCalendar(pCalendarOcx);<br></pre></td></tr></table><br><br>Something similar should work for Progress Openedge.<br><br>--<br>WBR,<br>Serge <br>]]>
   </description>
   <pubDate>Wed, 17 Jan 2007 15:51:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6141&amp;PID=19453&amp;title=attachtocalendar#19453</guid>
  </item> 
  <item>
   <title><![CDATA[AttachToCalendar : we&amp;#039;re using progress openedge...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6141&amp;PID=19428&amp;title=attachtocalendar#19428</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2685">jprescott</a><br /><strong>Subject:</strong> 6141<br /><strong>Posted:</strong> 17 January 2007 at 3:39am<br /><br /><P>we're using progress openedge and got most of this to work except for the attachtocalendar...</P><DIV></DIV><DIV></DIV>currently both the datepicker and calendarcontrol are on the same frame but the following doesn't work<DIV>&nbsp;</DIV><DIV>chx&nbsp; = chCalendarControl.<BR>chDatePicker:DatePicker:AttachToCalendar(chx).</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>chCalendarControl and chDatePicker are both com-handles for both products....the most bizarre thing is that it initially did work with the evaluation product but once we purchased it and re-inserted the full unlimited version of the ocx's we then started getting problems...any ideas? as far as i know this is the original code and no one has changed it...</DIV>]]>
   </description>
   <pubDate>Wed, 17 Jan 2007 03:39:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6141&amp;PID=19428&amp;title=attachtocalendar#19428</guid>
  </item> 
 </channel>
</rss>