<?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 : VB.NET upgrade of VB6 applicati&#111;n</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : VB.NET upgrade of VB6 applicati&#111;n]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 30 Apr 2026 16:00:22 +0000</pubDate>
  <lastBuildDate>Wed, 05 Oct 2005 01:09: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=3001</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[VB.NET upgrade of VB6 applicati&#111;n : Add this Dim ctrl As ControlFor...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3001&amp;PID=8971&amp;title=vb-net-upgrade-of-vb6-application#8971</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3001<br /><strong>Posted:</strong> 05 October 2005 at 1:09am<br /><br /><P>Add this</P><P>Dim ctrl As Control<BR>For Each ctrl In Controls<BR>If (ctrl.GetType Is GetType(System.Windows.Forms.MdiClient)) Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CommandBars.SetMDIClient(ctrl.Handle.ToInt32)<BR>End</P>]]>
   </description>
   <pubDate>Wed, 05 Oct 2005 01:09:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3001&amp;PID=8971&amp;title=vb-net-upgrade-of-vb6-application#8971</guid>
  </item> 
  <item>
   <title><![CDATA[VB.NET upgrade of VB6 applicati&#111;n : Command Bars ActiveX works fine...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3001&amp;PID=8955&amp;title=vb-net-upgrade-of-vb6-application#8955</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1534">olofh</a><br /><strong>Subject:</strong> 3001<br /><strong>Posted:</strong> 04 October 2005 at 10:44am<br /><br /><P>Command Bars ActiveX works fine when IsMDiContainer property of main form is set to False; however, the menu does not display if set to True.</P><P>I created a simple test Windows Application project using Visual Studio 2005 RC, and then added a COM reference to Xtreme CommandBars ActiveX Control 9.60.&nbsp; </P><P>Test form load looks like this...</P><P>&nbsp;&nbsp;&nbsp; Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load</P><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim m_menuBar As XtremeCommandBars.CommandBar<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_menuBar = Me.CommandBarsMgr.ActiveMenuBar</P><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim Control As XtremeCommandBars.CommandBarControl<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'turn off expand arrow (right arrow on tool bar)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Me.CommandBarsMgr.Options.ShowExpandButtonAlways = False<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_menuBar.Closeable = False</P><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim FileMenu As XtremeCommandBars.CommandBarControl<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FileMenu =  m_menuBar.Controls.Add(XtremeCommandBars.XTPControlType.xtpC ontrolPopup, 0, "&amp;File")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FileMenu.Id = 2100</P><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With FileMenu.CommandBar.Controls<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 'UPGRADE_WARNING: Couldn't resolve default property of object FileMenu.CommandBar. Click for more:  'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keywor d="6A50421D-15FE-4896-8A1B-2EC21E9037B2"' <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; .Add(XtremeCommandBars.XTPControlType.xtpControlButton, 2101, "&amp;New Client File")<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 'UPGRADE_WARNING: Couldn't resolve default property of object FileMenu.CommandBar. Click for more:  'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keywor d="6A50421D-15FE-4896-8A1B-2EC21E9037B2"' <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; .Add(XtremeCommandBars.XTPControlType.xtpControlButton, 2102, "&amp;Open Client File...")<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 'UPGRADE_WARNING: Couldn't resolve default property of object FileMenu.CommandBar. Click for more:  'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keywor d="6A50421D-15FE-4896-8A1B-2EC21E9037B2"' <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; .Add(XtremeCommandBars.XTPControlType.xtpControlButton, 2103, "&amp;Save Client File")<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 'UPGRADE_WARNING: Couldn't resolve default property of object FileMenu.CommandBar. Click for more:  'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keywor d="6A50421D-15FE-4896-8A1B-2EC21E9037B2"' <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; .Add(XtremeCommandBars.XTPControlType.xtpControlButton, 2104, "Save Client File &amp;As...")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End With</P><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Me.CommandBarsMgr.ActiveMenuBar.Visible = True</P><P>&nbsp;&nbsp;&nbsp; End Sub<BR></P><P>&nbsp;</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Tue, 04 Oct 2005 10:44:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3001&amp;PID=8955&amp;title=vb-net-upgrade-of-vb6-application#8955</guid>
  </item> 
 </channel>
</rss>