<?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 : [SOLVED] Report crash - xtpColumnResource</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : [SOLVED] Report crash - xtpColumnResource]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 12 Apr 2026 20:19:39 +0000</pubDate>
  <lastBuildDate>Wed, 16 Feb 2011 16:38:30 +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=17890</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[[SOLVED] Report crash - xtpColumnResource : Thanks everybody ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17890&amp;PID=62719&amp;title=solved-report-crash-xtpcolumnresource#62719</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5580">vipper</a><br /><strong>Subject:</strong> 17890<br /><strong>Posted:</strong> 16 February 2011 at 4:38pm<br /><br />Thanks everybody]]>
   </description>
   <pubDate>Wed, 16 Feb 2011 16:38:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17890&amp;PID=62719&amp;title=solved-report-crash-xtpcolumnresource#62719</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Report crash - xtpColumnResource : Right... seems its one I already...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17890&amp;PID=62711&amp;title=solved-report-crash-xtpcolumnresource#62711</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17890<br /><strong>Posted:</strong> 16 February 2011 at 2:02pm<br /><br />Right... seems its one I already fixed for 15.0.2 &nbsp;Please wait a little will b published soon.]]>
   </description>
   <pubDate>Wed, 16 Feb 2011 14:02:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17890&amp;PID=62711&amp;title=solved-report-crash-xtpcolumnresource#62711</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Report crash - xtpColumnResource : Hi Oleg, Curious as I am, I tried...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17890&amp;PID=62706&amp;title=solved-report-crash-xtpcolumnresource#62706</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17890<br /><strong>Posted:</strong> 16 February 2011 at 1:23pm<br /><br /><P>Hi Oleg,</P><P>Curious as I am, I tried same thing and it crashed. Just&nbsp;change wndReportControl.PaintManager.ColumnStyle = xtpColumnFlat into wndReportControl.PaintManager.ColumnStyle = xtpColumnResource</P><DIV>If you comment <FONT color=#006600><strong>Column.TreeColumn = True</strong> </FONT><FONT color=#000000>it doesn't crash anymore</FONT></DIV><DIV>&nbsp;</DIV><DIV>&#091;...&#093;</DIV><DIV>' Set 3 column. First one has a "tree" style<BR>&nbsp;&nbsp;&nbsp; Set Column = wndReportControl.Columns.Add(0, "Name", 200, True)<BR>&nbsp;&nbsp;&nbsp; <FONT color=#006600><strong>'Column.TreeColumn = True<BR></strong></FONT>&nbsp;&nbsp;&nbsp; Column.Editable = False&nbsp;</DIV><DIV>&#091;...&#093;</DIV><DIV>&nbsp;</DIV><DIV>Glad to help <img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" /></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 16 Feb 2011 13:23:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17890&amp;PID=62706&amp;title=solved-report-crash-xtpcolumnresource#62706</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Report crash - xtpColumnResource : Hi,   I just do this sample,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17890&amp;PID=62690&amp;title=solved-report-crash-xtpcolumnresource#62690</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5580">vipper</a><br /><strong>Subject:</strong> 17890<br /><strong>Posted:</strong> 16 February 2011 at 5:18am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>I just do this sample, so it crashes&nbsp;: (VB6 SP6 - Win 7 32)</DIV><DIV>&nbsp;</DIV><DIV><a href="http://forum.codejock.com/uploads/5580/Projet1.zip" target="_blank">uploads/5580/Projet1.zip</A></DIV><DIV>&nbsp;</DIV><DIV>---------------------------------------------------------------------</DIV><DIV><DIV>Option Explicit</DIV></DIV><DIV>Function AddReportRecord(Parent As ReportRecord, _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Read As Boolean, _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Subject As String, _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; From As String, _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sent As Date, _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Size As Long, _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Price As Single) As ReportRecord</DIV><DIV>&nbsp;&nbsp;&nbsp; Dim Record As ReportRecord</DIV><DIV>&nbsp;&nbsp;&nbsp; If Parent Is Nothing Then</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Record = wndReportControl.Records.Add()<BR>&nbsp;&nbsp;&nbsp; Else</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Record = Parent.Childs.Add()<BR>&nbsp;&nbsp;&nbsp; End If</DIV><DIV>&nbsp;&nbsp;&nbsp; Dim Item As ReportRecordItem</DIV><DIV>&nbsp;&nbsp;&nbsp; Set Item = Record.AddItem("")<BR>&nbsp;&nbsp;&nbsp; Item.Icon = IIf(Read, 3, 2)</DIV><DIV>&nbsp;&nbsp;&nbsp; Set Item = Record.AddItem("")<BR>&nbsp;&nbsp;&nbsp; Item.HasCheckbox = True<BR>&nbsp;&nbsp;&nbsp; Item.Checked = False<BR>&nbsp;&nbsp;&nbsp; Record.AddItem Subject<BR>&nbsp;&nbsp;&nbsp; Record.AddItem From<BR>&nbsp;&nbsp;&nbsp; Record.AddItem Sent<BR>&nbsp;&nbsp;&nbsp; Record.AddItem Size</DIV><DIV>&nbsp;&nbsp;&nbsp; Set Item = Record.AddItem(Price)<BR>&nbsp;&nbsp;&nbsp; Item.Format = "$ %s"</DIV><DIV>&nbsp;&nbsp;&nbsp; Set AddReportRecord = Record<BR>End Function</DIV><DIV>&nbsp;</DIV><DIV>Private Sub LoadReport()<BR>&nbsp;&nbsp;&nbsp; Dim Record As ReportRecord<BR>&nbsp;&nbsp;&nbsp; ' Setup ReportControl records<BR>&nbsp;&nbsp;&nbsp; AddReportRecord Nothing, True, "Undeliverable Mail", "<a href="mailto:postmaster@mail.codejock.com" target="_blank">postmaster@mail.codejock.com</A>", "21/06/2004", 7, 5.23<BR>&nbsp;&nbsp;&nbsp; AddReportRecord Nothing, False, "RE: Hi Mary", "Peter Parker", "19/06/2004", 17, 3.34</DIV><DIV>&nbsp;&nbsp;&nbsp; Set Record = AddReportRecord(Nothing, True, "RE:", "Bruce Wayne", "19/06/2004", 11, 3.32)<BR>&nbsp;&nbsp;&nbsp; AddReportRecord Record, True, "Re: it's me again", "Clark Kent &#091;ckent@codetoolbox.com&#093;", "17/06/2004", 10, 6.34<BR>&nbsp;&nbsp;&nbsp; AddReportRecord Record, True, "Re: it's me again", "QueryReply", "17/06/2004", 41, 16.42</DIV><DIV>&nbsp;&nbsp;&nbsp; Set Record = AddReportRecord(Record, False, "I don't understand:", "Bruce Wayne", "17/06/2004", 1, 5.12)<BR>&nbsp;&nbsp;&nbsp; AddReportRecord Record, False, "Re:", "Bruce Wayne", "17/06/2004", 23, 8.76<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; wndReportControl.Populate<BR>End Sub</DIV><DIV>&nbsp;</DIV><DIV>Private Sub CreateColunm()<BR>&nbsp;&nbsp;&nbsp; Dim Column As ReportColumn</DIV><DIV>&nbsp;&nbsp;&nbsp; ' Setup ReportControl columns<BR>&nbsp;&nbsp;&nbsp; Set Column = wndReportControl.Columns.Add(1, "Icon", 18, False)<BR>&nbsp;&nbsp;&nbsp; Column.Icon = 0<BR>&nbsp;&nbsp;&nbsp; Column.Sortable = False</DIV><DIV>&nbsp;&nbsp;&nbsp; Set Column = wndReportControl.Columns.Add(2, "Check", 18, False)<BR>&nbsp;&nbsp;&nbsp; Column.Icon = 1<BR>&nbsp;&nbsp;&nbsp; Column.Sortable = False</DIV><DIV>&nbsp;&nbsp;&nbsp; Set Column = wndReportControl.Columns.Add(3, "Subject", 280, True)<BR>&nbsp;&nbsp;&nbsp; Column.TreeColumn = True<BR>&nbsp;&nbsp;&nbsp; wndReportControl.Columns.Add 4, "From", 180, True<BR>&nbsp;&nbsp;&nbsp; wndReportControl.Columns.Add 5, "Sent", 150, True<BR>&nbsp;&nbsp;&nbsp; wndReportControl.Columns.Add 6, "Size", 50, True<BR>&nbsp;&nbsp;&nbsp; wndReportControl.Columns.Add 7, "Price", 80, True<BR>End Sub</DIV><DIV>&nbsp;</DIV><DIV>Private Sub Form_Load()<BR>&nbsp;&nbsp;&nbsp; ReportControlGlobalSettings.ResourceImages.LoadFromFile App.Path &amp; "\Office2010.dll", "Office2010Blue.ini"<BR>&nbsp;&nbsp;&nbsp; CreateColunm<BR>&nbsp;&nbsp;&nbsp; LoadReport<BR>&nbsp;&nbsp;&nbsp; wndReportControl.PaintManager.ColumnStyle = xtpColumnResource<BR>End Sub<BR></DIV><DIV>&nbsp;</DIV><DIV>What's wrong ?</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV>]]>
   </description>
   <pubDate>Wed, 16 Feb 2011 05:18:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17890&amp;PID=62690&amp;title=solved-report-crash-xtpcolumnresource#62690</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Report crash - xtpColumnResource : Hi,Thanks,Can&amp;#039;t reproduce...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17890&amp;PID=62686&amp;title=solved-report-crash-xtpcolumnresource#62686</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17890<br /><strong>Posted:</strong> 16 February 2011 at 2:25am<br /><br />Hi,<div><br></div><div>Thanks,&nbsp;</div><div><br></div><div>Can't reproduce it. Maybe you somehow else modify project ? Please attach current code of sample.</div>]]>
   </description>
   <pubDate>Wed, 16 Feb 2011 02:25:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17890&amp;PID=62686&amp;title=solved-report-crash-xtpcolumnresource#62686</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Report crash - xtpColumnResource :  Hello,  In your sample &amp;#034;ReportSample&amp;#034;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17890&amp;PID=62678&amp;title=solved-report-crash-xtpcolumnresource#62678</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5580">vipper</a><br /><strong>Subject:</strong> 17890<br /><strong>Posted:</strong> 15 February 2011 at 5:53pm<br /><br /><p>Hello, </p><p>In your sample "ReportSample" , the application crashes when I add this code : wndReportControl.PaintManager.ColumnStyle = xtpColumnResource, in the form "frmProperties". </p><div>Is this a bug? Is there a solution ?</div><div>it seem to be affected by : Column.TreeColumn = True</div><div><br>Thanks</div>]]>
   </description>
   <pubDate>Tue, 15 Feb 2011 17:53:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17890&amp;PID=62678&amp;title=solved-report-crash-xtpcolumnresource#62678</guid>
  </item> 
 </channel>
</rss>