<?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 : Using vbNullString with controls and command bars</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : Using vbNullString with controls and command bars]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 01:02:46 +0000</pubDate>
  <lastBuildDate>Tue, 13 Nov 2012 07:00:10 +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=20297</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[Using vbNullString with controls and command bars : I have found an issue when using...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=20297&amp;PID=69230&amp;title=using-vbnullstring-with-controls-and-command-bars#69230</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7709">DMoreland</a><br /><strong>Subject:</strong> 20297<br /><strong>Posted:</strong> 13 November 2012 at 7:00am<br /><br /><span style="font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: normal;">I have found an issue when using the command bars and combo boxes in the latest version of the code jock controls.&nbsp;</span><br style="font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: normal;"><br style="font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: normal;"><span style="font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: normal;">If you add an item to a combo box with a value of vbnullstring&nbsp;you get&nbsp;the following error message&nbsp;</span><br style="font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: normal;"><br style="font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: normal;"><span style="font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: normal;">Automation Error, The object invoked has disconnected from its clients error</span><br style="font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: normal;"><br style="font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: normal;"><span style="font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: normal;">If you use "" instead of vbNullString then the error doesn't present its self.&nbsp;</span><br style="font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: normal;"><br style="font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: normal;"><span style="font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: normal;">This also happens when you Add an item to a command bar with vbNullString as its name. and the same fix works where you can replace vbNullString with "".&nbsp;</span><div><span style="font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: normal;"><br></span></div><div><font face="Tahoma, Verdana, Arial, Helvetica, sans-serif"><span style="font-size: 11px; line-height: normal;">I have attached a code example&nbsp;illustrating&nbsp;this issue. The code needs to be compiled in order for the error to be displayed and it also has to be ran on a computer that&nbsp;hasn't&nbsp;had codejock installed. Running the example from the vb6 IDE will not display this behaviour and running it on a development machine with CodeJock installed on will not display this behaviour either.&nbsp;</span></font></div><div><font face="Tahoma, Verdana, Arial, Helvetica, sans-serif"><span style="font-size: 11px; line-height: normal;"><br></span></font></div><div><a href="http://forum.codejock.com/uploads/7709/vb6projectProject1.zip" target="_blank">uploads/7709/vb6projectProject1.zip</a></div>]]>
   </description>
   <pubDate>Tue, 13 Nov 2012 07:00:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=20297&amp;PID=69230&amp;title=using-vbnullstring-with-controls-and-command-bars#69230</guid>
  </item> 
 </channel>
</rss>