<?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 &amp; EXE crash when MDI form closed</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : VB6 &amp; EXE crash when MDI form closed]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 17 Apr 2026 02:20:10 +0000</pubDate>
  <lastBuildDate>Wed, 17 Feb 2016 11:29:42 +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=22925</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 &amp; EXE crash when MDI form closed : Hi allI&amp;#039;m a newcomer to Codejock...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22925&amp;PID=74469&amp;title=vb6-exe-crash-when-mdi-form-closed#74469</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8988">john_d</a><br /><strong>Subject:</strong> 22925<br /><strong>Posted:</strong> 17 February 2016 at 11:29am<br /><br />Hi all<div>I'm a newcomer to Codejock and have spent a couple of days trying to get to grips with the evaluation version of the Skin Framework to freshen up our very large VB6 application consisting of many forms, Internally written ActiveX controls (internal to the VBP), classes, external ocxs/dlls etc. &nbsp;There are a number of issues I am getting but the first is that no matter what I have tried, the app crashes when I close the main MDI form down using the X (either in debug mode or using the compiled exe).&nbsp;</div><div>I'm now using the following code in&nbsp;<span style="line-height: 1.4;">MDIForm_Load():</span></div><div><br></div><div>SkinFramework1.ExcludeModule "msado15.dll"</div><div>(then a batch of other excludes)</div><div><br></div><div><div>bRet = SkinFramework1.LoadSkin(App.Path &amp; "\styles\Office2010.cjstyles", "normalblue.ini")</div><div>SkinFramework1.ApplyWindow Me.hWnd</div><div>SkinFramework1.ApplyOptions = SkinFramework1.ApplyOptions Or xtpSkinApplyMetrics</div></div><div><br></div><div>When the X is pressed it triggers the&nbsp;MDIForm_QueryUnload event in which I use this line:</div><div><br></div><div>SkinFramework1.RemoveAllWindows</div><div><br></div><div>I have exhausted the forums and the code samples and can't see what the issue might be, or find any other documentation. I have also run Process Explorer and tried to assess which dlls could be the problem, and included all these as ExcludeModule statements. &nbsp;<span style="line-height: 1.4;">I'm not sure what to try next. If we are to use CodeJock going forward as a company I really need some help. &nbsp;Thanks in advance...</span></div>]]>
   </description>
   <pubDate>Wed, 17 Feb 2016 11:29:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22925&amp;PID=74469&amp;title=vb6-exe-crash-when-mdi-form-closed#74469</guid>
  </item> 
 </channel>
</rss>