<?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 : VB6 Crash when stepping through code</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : VB6 Crash when stepping through code]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 20:14:25 +0000</pubDate>
  <lastBuildDate>Wed, 16 Jul 2008 13:04:11 +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=10773</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[VB6 Crash when stepping through code : Satisfying enough for now. When...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10773&amp;PID=38468&amp;title=vb6-crash-when-stepping-through-code#38468</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4315">JasonG</a><br /><strong>Subject:</strong> 10773<br /><strong>Posted:</strong> 16 July 2008 at 1:04pm<br /><br />Satisfying enough for now. When deadlines are involved, I dont really need to know all the ins and outs :) Thanks again.]]>
   </description>
   <pubDate>Wed, 16 Jul 2008 13:04:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10773&amp;PID=38468&amp;title=vb6-crash-when-stepping-through-code#38468</guid>
  </item> 
  <item>
   <title><![CDATA[VB6 Crash when stepping through code : Glad to help, and sorry I can&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10773&amp;PID=38467&amp;title=vb6-crash-when-stepping-through-code#38467</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 10773<br /><strong>Posted:</strong> 16 July 2008 at 12:52pm<br /><br />Glad to help, and sorry I can't offer any good explanation for the behaviour...Mystery fixes aren't terribly satisfying, but sometimes necessary (at least in the short term).]]>
   </description>
   <pubDate>Wed, 16 Jul 2008 12:52:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10773&amp;PID=38467&amp;title=vb6-crash-when-stepping-through-code#38467</guid>
  </item> 
  <item>
   <title><![CDATA[VB6 Crash when stepping through code : I have to admit when I read your...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10773&amp;PID=38463&amp;title=vb6-crash-when-stepping-through-code#38463</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4315">JasonG</a><br /><strong>Subject:</strong> 10773<br /><strong>Posted:</strong> 16 July 2008 at 11:05am<br /><br />I have to admit when I read your post, I thought "No way" - but it worked.<br><br>I don't know why and I dont know how, but it really did. <br><br>Outstanding!!<br><br>Im going to have to investigate this further. Thanks a ba-zillion.<br>]]>
   </description>
   <pubDate>Wed, 16 Jul 2008 11:05:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10773&amp;PID=38463&amp;title=vb6-crash-when-stepping-through-code#38463</guid>
  </item> 
  <item>
   <title><![CDATA[VB6 Crash when stepping through code : Hi Jason, Well, I was able to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10773&amp;PID=38462&amp;title=vb6-crash-when-stepping-through-code#38462</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 10773<br /><strong>Posted:</strong> 16 July 2008 at 10:55am<br /><br />Hi Jason,<br><br>&nbsp;&nbsp;&nbsp; Well, I was able to reproduce the crash and find a (temporary?) solution. I say temporary because I'm not sure why it fixes the problem. Try this:<br><br>1) Open the project and draw a PictureBox on frmMessages2<br>2) Select the TabControlPage(0) control and the press Ctrl+X to cut it from the form<br>3) Select the PictureBox you created in Step 1, and then press Ctrl+V to paste it into the PictureBox<br>4) Change the Visible property of the PictureBox to False<br>5) Run the Program, add 2 (or more) PinkNotes(r), and then close the program. It shouldn't crash the IDE anymore (it doesn't on my computer).<br><br>&nbsp;&nbsp;&nbsp; As to exactly why this helps, I can't say! I was trying to move your TabControls to UserControls to see if that would help, and I made some progress, but I had to cut out some large swaths of your code to get it to run without crashing. I then tried to just plonk the TabControlPage into a PictureBox without modifying code and it worked...<br><br><br>]]>
   </description>
   <pubDate>Wed, 16 Jul 2008 10:55:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10773&amp;PID=38462&amp;title=vb6-crash-when-stepping-through-code#38462</guid>
  </item> 
  <item>
   <title><![CDATA[VB6 Crash when stepping through code :  Ok, here is my (non) working...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10773&amp;PID=38458&amp;title=vb6-crash-when-stepping-through-code#38458</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4315">JasonG</a><br /><strong>Subject:</strong> 10773<br /><strong>Posted:</strong> 16 July 2008 at 8:50am<br /><br />Ok, here is my (non) working sample code.<br><a href="http://www.jas&#111;ngoldberg.com/files/sample.zip" target="_blank">http://www.jasongoldberg.com/files/sample.zip</a><br><br>Please let me know if you have any troubles running it. I tried to remove all extra references.<br><br>Here is how to get it to crash (actually, to freeze) the VB IDE.<br><br>1. Run the program, and close it. Notice it closes without a problem.<br><br>2. Run the&nbsp; program, click the "+" tab to open a new message, close the program. Again it closes without a problem.<br><br>3. Run the program, click the "+" tab TWICE to open two new messages. Close the program - the VB IDE freezes (both on my Vista environment as well as a co-worker's XP environment).<br><br>Thanks for taking a look guys!<br><br><br>]]>
   </description>
   <pubDate>Wed, 16 Jul 2008 08:50:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10773&amp;PID=38458&amp;title=vb6-crash-when-stepping-through-code#38458</guid>
  </item> 
  <item>
   <title><![CDATA[VB6 Crash when stepping through code : Negative. This seems to DIRECTLY...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10773&amp;PID=38430&amp;title=vb6-crash-when-stepping-through-code#38430</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4315">JasonG</a><br /><strong>Subject:</strong> 10773<br /><strong>Posted:</strong> 15 July 2008 at 4:43pm<br /><br />Negative. This seems to DIRECTLY connected to my array of commandbars and/or tabs.<br><br>I will have a (non) working sample for you first thing in the A.M. <br>]]>
   </description>
   <pubDate>Tue, 15 Jul 2008 16:43:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10773&amp;PID=38430&amp;title=vb6-crash-when-stepping-through-code#38430</guid>
  </item> 
  <item>
   <title><![CDATA[VB6 Crash when stepping through code : No problem Jason, I understand...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10773&amp;PID=38429&amp;title=vb6-crash-when-stepping-through-code#38429</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 10773<br /><strong>Posted:</strong> 15 July 2008 at 4:39pm<br /><br />No problem Jason, I understand the confidentiality requirement. Unfortunately the larger more complex programs tend to exhibit bad behaviours, and then trying to reproduce the problem in a small sample can be tricky! Hopefully you can reproduce it in a smaller sample so we can get to the bottom of it. Also, I've found that sometimes the act of trying to reproduce the problem yields the solution.<br><br>Just a thought - The only time I've consistently had the IDE crash at program termination is when I've been subclassing and been sloppy (forgetting to restore the old wndproc or something). Are you subclassing anything in your app?<br>]]>
   </description>
   <pubDate>Tue, 15 Jul 2008 16:39:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10773&amp;PID=38429&amp;title=vb6-crash-when-stepping-through-code#38429</guid>
  </item> 
  <item>
   <title><![CDATA[VB6 Crash when stepping through code :  I would LOVE to provide a sample,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10773&amp;PID=38428&amp;title=vb6-crash-when-stepping-through-code#38428</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4315">JasonG</a><br /><strong>Subject:</strong> 10773<br /><strong>Posted:</strong> 15 July 2008 at 4:34pm<br /><br />I would LOVE to provide a sample, however I would really need to create a new project as the software im writing is 'confidential'... let me work on that for you (for me).<br><br>Thanks!<br>]]>
   </description>
   <pubDate>Tue, 15 Jul 2008 16:34:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10773&amp;PID=38428&amp;title=vb6-crash-when-stepping-through-code#38428</guid>
  </item> 
  <item>
   <title><![CDATA[VB6 Crash when stepping through code : JasonG - Any chance of a sample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10773&amp;PID=38427&amp;title=vb6-crash-when-stepping-through-code#38427</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 10773<br /><strong>Posted:</strong> 15 July 2008 at 4:32pm<br /><br />JasonG - Any chance of a sample that consistently crashes? I've had my IDE crash occasionally (not limited to when using CJ controls, but it happens frequently enough in Vista). I haven't had it crash in a consistently reproducable way though. Sometimes it crashes when using the scrollbars, sometimes when commenting lines...<br><br>If you have a sample that crashes consistently, it could be useful for tracking down the problem.<br>]]>
   </description>
   <pubDate>Tue, 15 Jul 2008 16:32:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10773&amp;PID=38427&amp;title=vb6-crash-when-stepping-through-code#38427</guid>
  </item> 
  <item>
   <title><![CDATA[VB6 Crash when stepping through code : Yea, I use Debug.Assert1 / 0.I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10773&amp;PID=38426&amp;title=vb6-crash-when-stepping-through-code#38426</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3113">corpcon</a><br /><strong>Subject:</strong> 10773<br /><strong>Posted:</strong> 15 July 2008 at 4:28pm<br /><br />Yea, I use Debug.Assert&nbsp;1 / 0.&nbsp;I think I got it from VBPJ in the mid 90's (but it might have been Debug.Print back then). Don't know where I'd be without that little&nbsp;gem.&nbsp;Keep it simple and just use a function call as needed (we all have our own little methods and&nbsp;quirks of doing things)&nbsp;... <DIV>&nbsp;</DIV><DIV>Function util_bInDesignMode() As Boolean<BR>On Error GoTo DesignModeError</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp; Debug.Assert 1 / 0&nbsp;&nbsp;&nbsp; ' When compiled into an exe, the Assert method is omitted<BR>&nbsp;&nbsp;&nbsp; util_bInDesignMode = False&nbsp;&nbsp;&nbsp; ' Readability ... Not really necessary</DIV><DIV>&nbsp;</DIV><DIV>Exit Function<BR>DesignModeError:<BR>&nbsp;&nbsp;&nbsp; util_bInDesignMode = True<BR>End Function</DIV>]]>
   </description>
   <pubDate>Tue, 15 Jul 2008 16:28:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10773&amp;PID=38426&amp;title=vb6-crash-when-stepping-through-code#38426</guid>
  </item> 
 </channel>
</rss>