<?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 : dtpicker</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : dtpicker]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 07:09:07 +0000</pubDate>
  <lastBuildDate>Sun, 30 Jul 2006 19:03:32 +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=4596</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[dtpicker : see answer in http://forum.cod...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4596&amp;PID=14473&amp;title=dtpicker#14473</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 4596<br /><strong>Posted:</strong> 30 July 2006 at 7:03pm<br /><br />see answer in <a href="http://forum.codejock.com/forum_posts.asp?TID=4597" target="_blank">http://forum.codejock.com/forum_posts.asp?TID=4597</a><br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Sun, 30 Jul 2006 19:03:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4596&amp;PID=14473&amp;title=dtpicker#14473</guid>
  </item> 
  <item>
   <title><![CDATA[dtpicker : Hi,In my reporting control, I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4596&amp;PID=14176&amp;title=dtpicker#14176</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1687">cybeh</a><br /><strong>Subject:</strong> 4596<br /><strong>Posted:</strong> 15 July 2006 at 2:09am<br /><br />Hi,<br><br>In my reporting control, I do have a drop down button which should let the user click and show the dt picker.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nResult = Show_XTPDatePicker(nX, nY, dTDate)<br><br>Private Function Show_XTPDatePicker(nX, nY, dTDate) As Long<br>&nbsp;&nbsp;&nbsp; Show_XTPDatePicker = -1<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; On Error GoTo err1<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Dim pDatePicker<br>&nbsp;&nbsp;&nbsp; Dim dtDate0<br>&nbsp;&nbsp;&nbsp; Set pDatePicker = CreateObject("Codejock.DatePicker.9.81")<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; If pDatePicker Is Nothing Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exit Function<br>&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; pDatePicker.MaxSelectionCount = 1<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Dim nWidth As Long, nHeight As Long<br>&nbsp;&nbsp;&nbsp; pDatePicker.GetMinReqRect nWidth, nHeight, 1, 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; pDatePicker.SelectRange dTDate, dTDate<br>&nbsp;&nbsp;&nbsp; pDatePicker.EnsureVisible dTDate<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Dim bResult As Boolean<br>&nbsp;&nbsp;&nbsp; bResult = pDatePicker.ShowModalEx(nX, nY, nWidth + 4, nHeight + 4, wndReportControl.hwnd)<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Show_XTPDatePicker = 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; If bResult And pDatePicker.Selection.BlocksCount &gt; 0 Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dtDate0 = pDatePicker.Selection.Blocks(0).DateBegin()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If IsDate(dtDate0) Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dTDate = CDate(dtDate0)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Show_XTPDatePicker = 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp; Else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If bResult And pDatePicker.Selection.BlocksCount = 0 Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dtDate0 = "1601-01-01"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dTDate = CDate(dtDate0)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Show_XTPDatePicker = 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp; End If<br>err1:<br>End Function<br><br><br>The code works fine at my machine, but not my client machine. I think there is some OCX missing.<br><br>But, I do include all this in my InnoSetup Script<br><br>Source: "D:\Coding\ProjectManagement\Package\Support\Codejock.TaskPanel.v9.81.ocx"; DestDir: "{sys}"; Flags: sharedfile regserver<br>Source: "D:\Coding\ProjectManagement\Package\Support\Codejock.SuiteCtrls.v9.81.ocx"; DestDir: "{sys}"; Flags: sharedfile regserver<br>Source: "D:\Coding\ProjectManagement\Package\Support\Codejock.Calendar.v9.81.ocx"; DestDir: "{sys}"; Flags: sharedfile regserver<br>Source: "D:\Coding\ProjectManagement\Package\Support\Codejock.ShortcutBar.v9.81.ocx"; DestDir: "{sys}"; Flags: sharedfile regserver<br>Source: "D:\Coding\ProjectManagement\Package\Support\Codejock.CommandBars.v9.81.ocx"; DestDir: "{sys}"; Flags: sharedfile regserver<br>Source: "D:\Coding\ProjectManagement\Package\Support\Codejock.ReportControl.v9.81.ocx"; DestDir: "{sys}"; Flags: sharedfile regserver<br><br><br>Can anyone tell me wut's missing? Please advice. Thanks in advnace.<br><br><br><br>]]>
   </description>
   <pubDate>Sat, 15 Jul 2006 02:09:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4596&amp;PID=14176&amp;title=dtpicker#14176</guid>
  </item> 
 </channel>
</rss>