<?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 : Basic Unbound Useage</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Basic Unbound Useage]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 30 May 2026 08:34:28 +0000</pubDate>
  <lastBuildDate>Fri, 23 Mar 2007 17:11:55 +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=6722</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[Basic Unbound Useage : Hello,  I&amp;#039;m just getting...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6722&amp;PID=21414&amp;title=basic-unbound-useage#21414</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2873">Carl Jensen</a><br /><strong>Subject:</strong> 6722<br /><strong>Posted:</strong> 23 March 2007 at 5:11pm<br /><br />Hello,<br><p ="MsoPlainText">I'm just getting started using the Calendar control inMicrosoft Access in <b>unbound</b> mode.<span style="">&nbsp; At this point </span>I'm simply trying toadd an Event to the calendar and display it on the screen.<span style="">&nbsp; </span>I've added both the Calendar and DatePickercontrols on a form and placed the following code in the Form_Load event:</p><p ="MsoPlainText"><o:p></o:p><font face="Courier New, Courier, mono">--------------------------------------</font></p><p ="MsoPlainText"><font face="Courier New, Courier, mono">Me.CalendarControl1.SetDataProvider"Provider=custom"<br><o:p></o:p>Me.CalendarControl1.DataProvider.Create<o:p> </o:p><br>Me.CalendarControl1.DataProvider.Open<span style="">&nbsp;&nbsp;  </span><br>Me.DatePicker2.AttachToCalendarMe.CalendarControl1.Object<span style="">&nbsp;&nbsp;  </span><br>Me.CalendarControl1.ViewType = xtpCalendarMonthView<br><span style=""></span>Me.CalendarControl1.DayView.ScrollToWorkDayBegin<br><span style=""></span><br>''ADD AN EVENT TO CALENDAR<br>Dim NewEvent As CalendarEvent<br><o:p></o:p>Set NewEvent = CalendarControl.DataProvider.CreateEvent<span style="">&nbsp;&nbsp;  </span><br>NewEvent.Subject = "Test Subject"<span style="">&nbsp;&nbsp;  </span><br>NewEvent.StartTime = "3/20/2007"<span style="">&nbsp;&nbsp;  </span><br>NewEvent.EndTime = "3/20/2007"<span style="">&nbsp;&nbsp;  </span><br>CalendarControl1.DataProvider.AddEvent NewEvent<br>Me.CalendarControl1.Populate<br>Me.CalendarControl1.RedrawControl</font></p><p ="MsoPlainText"><font face="Courier New, Courier, mono">---------------------------------------</font></p><p ="MsoPlainText">In Access, this code generates an 'Object RequiredRuntime Error 424' error at this line:</p><p ="MsoPlainText"><font face="Courier New, Courier, mono">Set NewEvent = CalendarControl.DataProvider.CreateEvent</font></p><p ="MsoPlainText"><o:p>I'm guessing</o:p> the DataProvider isn't setupright???<span style="">&nbsp; </span>How exactly does it need to besetup to work in a completely unbound mode?&nbsp; Any help or suggestions to get my head wrapped around this 'very deep' control is much appreciated.</p>Thanks!<br>Carl Jensen<br><p ="MsoPlainText"></p><br>]]>
   </description>
   <pubDate>Fri, 23 Mar 2007 17:11:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6722&amp;PID=21414&amp;title=basic-unbound-useage#21414</guid>
  </item> 
 </channel>
</rss>