<?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 : Commndbar nullreferenceexception</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Commndbar nullreferenceexception]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 09 Apr 2026 17:25:36 +0000</pubDate>
  <lastBuildDate>Tue, 28 Jan 2020 15:21:19 +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=23948</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[Commndbar nullreferenceexception : Hello,I&amp;#039;m trying to use the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23948&amp;PID=77591&amp;title=commndbar-nullreferenceexception#77591</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9386">florentsegui</a><br /><strong>Subject:</strong> 23948<br /><strong>Posted:</strong> 28 January 2020 at 3:21pm<br /><br />Hello,<div><br></div><div>I'm trying to use the commandbar control on a MDI Child in VB.NET.</div><div>I've got two commandbar controls:</div><div>- one on the MDI Container form</div><div>- one on the MDI Child form</div><div><br></div><div>On the parent, everything is OK. I can add commandbars, contextmenus...</div><div>On the child, I've a null reference exception as soon as I try to add something...</div><div><br></div><div>I'm using Codejock 19.1 and VS2017 (NET 4.7.2)</div><div><br></div><div><div><i>If I do this:</i></div><div><i>Dim test As TestForm</i></div><div><i>test = New TestForm()</i></div><div><i>test.MdiParent = Me</i></div><div><i>test.AxCommandBars1.ContextMenus.Add(500, "test")</i></div><div><br></div><div>I've a nullreferenceexception</div><div><br></div><div><i>If I do this:</i></div><div><i>Dim test As TestForm</i></div><div><i>test = New TestForm()</i></div><div><i>test.AxCommandBars1.ContextMenus.Add(500, "test")</i></div><div><br></div><div>All is OK</div><div>How can I use a commandbar on a MDI Child?&nbsp;&nbsp;</div></div><div><br></div><div>Thanks</div>]]>
   </description>
   <pubDate>Tue, 28 Jan 2020 15:21:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23948&amp;PID=77591&amp;title=commndbar-nullreferenceexception#77591</guid>
  </item> 
 </channel>
</rss>