<?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 in ReportControl</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : DTPicker in ReportControl]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 08:59:48 +0000</pubDate>
  <lastBuildDate>Tue, 18 Jul 2006 09:19:13 +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=4597</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 in ReportControl : You need the license to use CreateObject:Dim...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4597&amp;PID=14207&amp;title=dtpicker-in-reportcontrol#14207</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 4597<br /><strong>Posted:</strong> 18 July 2006 at 9:19am<br /><br />You need the license to use CreateObject<span ="highlight"></span>:<br><br>Dim pDatePicker<br>&nbsp;&nbsp;&nbsp;XtremeCalendarControl.License = "Calendar Control Copyright (c)2003-2006 Codejock Software" &amp; vbCrLf &amp; "PRODUCT-ID:Codejock.Calendar.ActiveX.v10.2" &amp; vbCrLf &amp; "VALIDATE-CODE:XXX-XXX-XXX-XXX"<br>&nbsp;&nbsp;&nbsp; Set pDatePicker = <font color="#000000"><span ="highlight"></span></font>CreateObject("Codejock.DatePicker." + XtremeCalendarControl.Version)<br><br>Also note if you are still using 9.81 then you will need to change the version number and copyright years<br>]]>
   </description>
   <pubDate>Tue, 18 Jul 2006 09:19:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4597&amp;PID=14207&amp;title=dtpicker-in-reportcontrol#14207</guid>
  </item> 
  <item>
   <title><![CDATA[DTPicker in ReportControl : Hi,  In my reporting control,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4597&amp;PID=14177&amp;title=dtpicker-in-reportcontrol#14177</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1687">cybeh</a><br /><strong>Subject:</strong> 4597<br /><strong>Posted:</strong> 15 July 2006 at 2:11am<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 advance.<br><br><br><br>]]>
   </description>
   <pubDate>Sat, 15 Jul 2006 02:11:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4597&amp;PID=14177&amp;title=dtpicker-in-reportcontrol#14177</guid>
  </item> 
 </channel>
</rss>