<?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 : Select Event via Code</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Select Event via Code]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 28 May 2026 11:51:31 +0000</pubDate>
  <lastBuildDate>Tue, 07 Sep 2010 10:32:53 +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=15571</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[Select Event via Code : Hi Mark,   I&amp;#039;ve just thought...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15571&amp;PID=60085&amp;title=select-event-via-code#60085</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4223">AndyWilton</a><br /><strong>Subject:</strong> 15571<br /><strong>Posted:</strong> 07 September 2010 at 10:32am<br /><br /><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN>Hi Mark, <?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN>&nbsp;<o:p></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN>I've just thought of an issue with this....<o:p></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN>&nbsp;<o:p></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN>Storing and resetting the ViewType will work unless you are in Day View and you have more than one Day selected (eg, 01, 02 and 03).&nbsp; Resetting the view type to Day View will only display 1 day which is the day of the Selected event.<o:p></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN>&nbsp;<o:p></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN>You can interrogate the current days on show using the ActiveView.Days(....) properties but you can't set the days using these because they are Read Only properties.<o:p></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN>&nbsp;<o:p></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN>Any ideas how I can reset the view after using the "SelectEventByID" method but put it back to Day view with multiple days on show?<o:p></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN>&nbsp;<o:p></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN>Regards,<o:p></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN>&nbsp;<o:p></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN>Andy</SPAN></P>]]>
   </description>
   <pubDate>Tue, 07 Sep 2010 10:32:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15571&amp;PID=60085&amp;title=select-event-via-code#60085</guid>
  </item> 
  <item>
   <title><![CDATA[Select Event via Code : You can store prev ViewType befre...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15571&amp;PID=54753&amp;title=select-event-via-code#54753</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 15571<br /><strong>Posted:</strong> 11 November 2009 at 1:42pm<br /><br />You can store prev ViewType befre SelectEventByID call and&nbsp;set it again after selection done - it will kept in new view also. <DIV>I consider DayView as most informative one - so it is logical to use it as result of requst</DIV>]]>
   </description>
   <pubDate>Wed, 11 Nov 2009 13:42:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15571&amp;PID=54753&amp;title=select-event-via-code#54753</guid>
  </item> 
  <item>
   <title><![CDATA[Select Event via Code : Hi Mark,  One quick question...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15571&amp;PID=54752&amp;title=select-event-via-code#54752</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4223">AndyWilton</a><br /><strong>Subject:</strong> 15571<br /><strong>Posted:</strong> 11 November 2009 at 1:37pm<br /><br />Hi Mark,<DIV>&nbsp;</DIV><DIV>One quick question - why does it switch the view to the DAY view in order to select an event?</DIV><DIV>&nbsp;</DIV><DIV>If the event is already visible - can the view remain in its current state?</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>&nbsp;</DIV><DIV>Andy</DIV>]]>
   </description>
   <pubDate>Wed, 11 Nov 2009 13:37:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15571&amp;PID=54752&amp;title=select-event-via-code#54752</guid>
  </item> 
  <item>
   <title><![CDATA[Select Event via Code : Hi Mark,  I&amp;#039;ve just tried...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15571&amp;PID=54739&amp;title=select-event-via-code#54739</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4223">AndyWilton</a><br /><strong>Subject:</strong> 15571<br /><strong>Posted:</strong> 11 November 2009 at 5:45am<br /><br />Hi Mark,<DIV>&nbsp;</DIV><DIV>I've just tried it and it works a treat! <img src="http://forum.codejock.com/smileys/smiley32.gif" border="0"><img src="http://forum.codejock.com/smileys/smiley32.gif" border="0"><img src="http://forum.codejock.com/smileys/smiley32.gif" border="0"><img src="http://forum.codejock.com/smileys/smiley32.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Thanks for the fast response.</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>&nbsp;</DIV><DIV>Andy</DIV>]]>
   </description>
   <pubDate>Wed, 11 Nov 2009 05:45:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15571&amp;PID=54739&amp;title=select-event-via-code#54739</guid>
  </item> 
  <item>
   <title><![CDATA[Select Event via Code : Hi Mark,  That would be great...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15571&amp;PID=54693&amp;title=select-event-via-code#54693</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4223">AndyWilton</a><br /><strong>Subject:</strong> 15571<br /><strong>Posted:</strong> 10 November 2009 at 5:02am<br /><br />Hi Mark,<DIV>&nbsp;</DIV><DIV>That would be great if it could visibily select the event <img src="http://forum.codejock.com/smileys/smiley1.gif" border="0">&nbsp;- Cheers!</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>&nbsp;</DIV><DIV>Andy</DIV>]]>
   </description>
   <pubDate>Tue, 10 Nov 2009 05:02:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15571&amp;PID=54693&amp;title=select-event-via-code#54693</guid>
  </item> 
  <item>
   <title><![CDATA[Select Event via Code : Try updated ocx please - https...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15571&amp;PID=54672&amp;title=select-event-via-code#54672</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 15571<br /><strong>Posted:</strong> 09 November 2009 at 3:57pm<br /><br />Try updated ocx please - <a href="https://forum.codejock.com/uploads/BetaOCX/CalendarBeta13-2.rar" target="_blank">https://forum.codejock.com/uploads/BetaOCX/CalendarBeta13-2.rar</A> &#091;rev98..&#093;]]>
   </description>
   <pubDate>Mon, 09 Nov 2009 15:57:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15571&amp;PID=54672&amp;title=select-event-via-code#54672</guid>
  </item> 
  <item>
   <title><![CDATA[Select Event via Code : You right - this function find...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15571&amp;PID=54658&amp;title=select-event-via-code#54658</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 15571<br /><strong>Posted:</strong> 09 November 2009 at 11:12am<br /><br />You right - this function find event and ensure eisibility. I can add a line of code to select founded event.]]>
   </description>
   <pubDate>Mon, 09 Nov 2009 11:12:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15571&amp;PID=54658&amp;title=select-event-via-code#54658</guid>
  </item> 
  <item>
   <title><![CDATA[Select Event via Code : Hi All,   Does anybody know...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15571&amp;PID=54656&amp;title=select-event-via-code#54656</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4223">AndyWilton</a><br /><strong>Subject:</strong> 15571<br /><strong>Posted:</strong> 09 November 2009 at 10:46am<br /><br />Hi All, <DIV>&nbsp;</DIV><DIV>Does anybody know how I can select an event in the Calendar via code.</DIV><DIV>&nbsp;</DIV><DIV>I've tried the "SelectEventByID" method&nbsp;but this only highlights the cell behind the event, it doesn't actually select it as though the user has selected it via the mouse.</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>&nbsp;</DIV><DIV>Andy</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 09 Nov 2009 10:46:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15571&amp;PID=54656&amp;title=select-event-via-code#54656</guid>
  </item> 
 </channel>
</rss>