<?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 : Setting DialogBar ChildHandle causes crash</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Setting DialogBar ChildHandle causes crash]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 12:48:38 +0000</pubDate>
  <lastBuildDate>Thu, 09 May 2013 13:25:29 +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=21595</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[Setting DialogBar ChildHandle causes crash : I tried the code in VB6 SP6 on...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21595&amp;PID=70931&amp;title=setting-dialogbar-childhandle-causes-crash#70931</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 21595<br /><strong>Posted:</strong> 09 May 2013 at 1:25pm<br /><br />I tried the code in VB6 SP6 on Win7 and XP (32-bit only), same version of the controls, and I'm not seeing the error. <br><br>Maybe you should try to re-register/re-install the OCX?<br>]]>
   </description>
   <pubDate>Thu, 09 May 2013 13:25:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21595&amp;PID=70931&amp;title=setting-dialogbar-childhandle-causes-crash#70931</guid>
  </item> 
  <item>
   <title><![CDATA[Setting DialogBar ChildHandle causes crash : Yes me.mainPic.hWnd is a valid...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21595&amp;PID=70930&amp;title=setting-dialogbar-childhandle-causes-crash#70930</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8048">johnbridges</a><br /><strong>Subject:</strong> 21595<br /><strong>Posted:</strong> 09 May 2013 at 12:25pm<br /><br />Yes me.mainPic.hWnd is a valid handle and the machine in question has SP6 installed. I added a bit more information&nbsp;don't know&nbsp;if you saw it in the issue I submitted. What I added was this:<div><br></div><div><p ="Mso">Our application is MDI based, on the MDI form we alignthe picture control (mainPic) top, left. It is when the picture control isaligned this way it crashes when setting the dialogbar childhandle property.And this still only affects 32 bit win 7 not sure about win xp.<o:p></o:p></p><p ="Mso">Thanks</p><p ="Mso"><br></p><p ="Mso"><br></p></div>]]>
   </description>
   <pubDate>Thu, 09 May 2013 12:25:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21595&amp;PID=70930&amp;title=setting-dialogbar-childhandle-causes-crash#70930</guid>
  </item> 
  <item>
   <title><![CDATA[Setting DialogBar ChildHandle causes crash : Are you sureMe.mainPic.hWndis...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21595&amp;PID=70929&amp;title=setting-dialogbar-childhandle-causes-crash#70929</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 21595<br /><strong>Posted:</strong> 09 May 2013 at 11:57am<br /><br />Are you sure&nbsp;<b style=": rgb248, 248, 252;"><font color="#ff0000">Me.mainPic.hWnd</font></b>&nbsp;is a valid handle? &nbsp;Are you sure this PC has SP6 on it? &nbsp;Please check the handle and ensure its valid.]]>
   </description>
   <pubDate>Thu, 09 May 2013 11:57:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21595&amp;PID=70929&amp;title=setting-dialogbar-childhandle-causes-crash#70929</guid>
  </item> 
  <item>
   <title><![CDATA[Setting DialogBar ChildHandle causes crash : Xtreme Command Bars ActiveX 2012...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21595&amp;PID=70850&amp;title=setting-dialogbar-childhandle-causes-crash#70850</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8048">johnbridges</a><br /><strong>Subject:</strong> 21595<br /><strong>Posted:</strong> 19 April 2013 at 1:06pm<br /><br /><div>Xtreme Command Bars ActiveX 2012 (15.3.1)</div><div>Dev Environment VB6 Service Pack 6</div><div>Windows 7 both 32 and 64 bit versions</div><div><br></div><div>I have an application written in VB6 which utilizes the command bar object to create a ribbon bar menu system. All of this works without a problem but when I attempt to add a DialogBar object my application crashes with the following error:</div><div><br></div><div>Run-time error ‘-2147417848 (80010108)</div><div>Method ‘ChildHandle’ of object ‘IDialogBar’ failed&nbsp;</div><div><br></div><div>This crash only occurs on 32bit Windows7</div><div><br></div><div>Here is a code snippet of where the crash occurs:</div><div><br></div><div>Set DialogBarActiveRecords = CommandBars.AddDialogBar("ActiveRecordsGrid", xtpBarRight)</div><div>DialogBarActiveRecords.ShowCaption = False</div><div>DialogBarActiveRecords.ShowGripper = False</div><div>&nbsp;DialogBarActiveRecords.Closeable = False</div><div><br></div><div><b><font color="#ff0000">DialogBarActiveRecords.ChildHandle = Me.mainPic.hWnd</font></b></div><div><br></div><div>mainPic &nbsp;is a standard picture control which contains several other controls. If I remove all controls contained in mainPic the application still crashes.</div><div><br></div><div>Any help would be appreciated</div><div><br></div>]]>
   </description>
   <pubDate>Fri, 19 Apr 2013 13:06:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21595&amp;PID=70850&amp;title=setting-dialogbar-childhandle-causes-crash#70850</guid>
  </item> 
 </channel>
</rss>