<?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 : Error 438 Object doesn&#039;t support this property</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Error 438 Object doesn&#039;t support this property]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 18:11:12 +0000</pubDate>
  <lastBuildDate>Fri, 13 May 2011 03:36:15 +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=17936</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[Error 438 Object doesn&#039;t support this property : Thank you Xander7, that fixed...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17936&amp;PID=64364&amp;title=error-438-object-doesnt-support-this-property#64364</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5535">Biox</a><br /><strong>Subject:</strong> 17936<br /><strong>Posted:</strong> 13 May 2011 at 3:36am<br /><br />Thank you Xander7,&nbsp; that fixed the problem for me. <br><br><br>  ]]>
   </description>
   <pubDate>Fri, 13 May 2011 03:36:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17936&amp;PID=64364&amp;title=error-438-object-doesnt-support-this-property#64364</guid>
  </item> 
  <item>
   <title><![CDATA[Error 438 Object doesn&#039;t support this property :   Hi,Use this code in v13.2.1...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17936&amp;PID=62945&amp;title=error-438-object-doesnt-support-this-property#62945</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 17936<br /><strong>Posted:</strong> 24 February 2011 at 3:32am<br /><br />Hi,<br><br>Use this code in v13.2.1 and it will work fine...<br><br><table width="99%"><tr><td><pre class="BBcode"><br>&nbsp;&nbsp;&nbsp; Set ControlPopup = .Add(xtpControlSplitButtonPopup, ID_FILE_PRINT, "&amp;Print")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ControlPopup.BeginGroup = True<br>&nbsp; &nbsp; Set PopupBar = CommandBars.CreateCommandBar("CXTPRibbonSystemPopupBarPage")<br>&nbsp;&nbsp;&nbsp; Set ControlPopup.CommandBar = PopupBar<br></pre></td></tr></table><br><br>Here it is in your sample code:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>&nbsp;&nbsp;&nbsp; Dim RibbonBar As RibbonBar<br>&nbsp;&nbsp;&nbsp; Set RibbonBar = CommandBars.AddRibbonBar("The Ribbon")<br>&nbsp;&nbsp;&nbsp; RibbonBar.EnableDocking xtpFlagStretched<br>&nbsp;&nbsp;&nbsp; RibbonBar.ShowQuickAccess = False<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Dim ControlFile As CommandBarPopup<br>&nbsp;&nbsp;&nbsp; Dim Control As CommandBarControl<br>&nbsp;&nbsp;&nbsp; Dim PopupBar As CommandBar<br>&nbsp;&nbsp;&nbsp; Dim TabWrite As RibbonTab<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Dim ControlPopup As CommandBarPopup<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Set ControlFile = RibbonBar.AddSystemButton()<br>&nbsp;&nbsp;&nbsp; ControlFile.IconId = ID_SYSTEM_ICON<br>&nbsp;&nbsp;&nbsp; ControlFile.Caption = "&amp;File"<br>&nbsp;&nbsp;&nbsp; ControlFile.CommandBar.SetIconSize 32, 32<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; With ControlFile.CommandBar.Controls<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = .Add(xtpControlButton, ID_FILE_USERS, "&amp;Users")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = .Add(xtpControlSplitButtonPopup, ID_FILE_DRIVES, "&amp;Drives")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.BeginGroup = True<br><br><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set ControlPopup = .Add(xtpControlSplitButtonPopup, ID_FILE_PRINT, "&amp;Print")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ControlPopup.BeginGroup = True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set PopupBar = CommandBars.CreateCommandBar("CXTPRibbonSystemPopupBarPage")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set ControlPopup.CommandBar = PopupBar</b><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = ControlPopup.Controls.Add(xtpControlLabel, 0, "Create and DisMount Drives")<br>&nbsp;&nbsp;&nbsp; End With<br></pre></td></tr></table><br><br>Basically when major versions of software change there may be some changes to the way in which it previously worked. All I did was look at the sample code to get this working!<br><br>]]>
   </description>
   <pubDate>Thu, 24 Feb 2011 03:32:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17936&amp;PID=62945&amp;title=error-438-object-doesnt-support-this-property#62945</guid>
  </item> 
  <item>
   <title><![CDATA[Error 438 Object doesn&#039;t support this property : As an update to this, I have just...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17936&amp;PID=62932&amp;title=error-438-object-doesnt-support-this-property#62932</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5535">Biox</a><br /><strong>Subject:</strong> 17936<br /><strong>Posted:</strong> 23 February 2011 at 9:59pm<br /><br />As an update to this, I have just reinstalled V11.2.2 and recompile fine. Crashes on 13.2.1<br><br>The app runs perfectly using 11.2.2. So something fishy is going on&nbsp; :)<br><br>]]>
   </description>
   <pubDate>Wed, 23 Feb 2011 21:59:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17936&amp;PID=62932&amp;title=error-438-object-doesnt-support-this-property#62932</guid>
  </item> 
  <item>
   <title><![CDATA[Error 438 Object doesn&#039;t support this property : Thanks for the reply, The confusing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17936&amp;PID=62930&amp;title=error-438-object-doesnt-support-this-property#62930</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5535">Biox</a><br /><strong>Subject:</strong> 17936<br /><strong>Posted:</strong> 23 February 2011 at 7:40pm<br /><br />Thanks for the reply, <br><br>The confusing thing for me is that this was working fine in V11 but has thrown this error when we upgraded to V13. <br><br>I have tried the mod as you suggested but now I get Error 13 type mismatch on line 190 per below. <br><br>I'll fiddle some more but if you have a thought on this I'd appreciate it. <br><br>thanks<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim RibbonBar As RibbonBar<br>80&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set RibbonBar = CommandBars.AddRibbonBar("The Ribbon")<br>90&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RibbonBar.EnableDocking xtpFlagStretched<br>100&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RibbonBar.ShowQuickAccess = False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim ControlFile As CommandBarPopup<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim Control As CommandBarControl<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim PopupBar As CommandBar<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim TabWrite As RibbonTab<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim ControlPopup As CommandBarPopup<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>110&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set ControlFile = RibbonBar.AddSystemButton()<br>120&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ControlFile.IconId = ID_SYSTEM_ICON<br>130&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ControlFile.Caption = "&amp;File"<br>140&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ControlFile.CommandBar.SetIconSize 32, 32<br>150&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With ControlFile.CommandBar.Controls<br><br>160&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = .Add(xtpControlButton, ID_FILE_USERS, "&amp;Users")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>170&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = .Add(xtpControlSplitButtonPopup, ID_FILE_DRIVES, "&amp;Drives")<br>180&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.BeginGroup = True<br>' 190&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set PopupBar = CommandBars.CreateCommandBar("CXTPRibbonSystemPopupBarPage")<br>190&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set ControlPopup = CommandBars.CreateCommandBar("CXTPRibbonSystemPopupBarPage")<br><br>'200&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control.CommandBar = PopupBar<br>200&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control.CommandBar = ControlPopup<br><br>'210&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = PopupBar.Controls.Add(xtpControlLabel, 0, "Create and DisMount Drives")<br>210&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = ControlPopup.Controls.Add(xtpControlLabel, 0, "Create and DisMount Drives")<br><br><br><br><br>]]>
   </description>
   <pubDate>Wed, 23 Feb 2011 19:40:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17936&amp;PID=62930&amp;title=error-438-object-doesnt-support-this-property#62930</guid>
  </item> 
  <item>
   <title><![CDATA[Error 438 Object doesn&#039;t support this property : Hi,The reason for this issue is...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17936&amp;PID=62861&amp;title=error-438-object-doesnt-support-this-property#62861</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 17936<br /><strong>Posted:</strong> 22 February 2011 at 4:39am<br /><br />Hi,<br><br>The reason for this issue is due to the way in which you are declaring the variables used!<br><br>You are using the "Dim Control As CommandBarControl" therefore you cannot assign the PopupBarCommandBar to this. What you must do is use a variable "Dim ControlPopup As CommandBarPopup" instead.<br><br>See the MDI Ribbon sample for this. <br><br><br>]]>
   </description>
   <pubDate>Tue, 22 Feb 2011 04:39:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17936&amp;PID=62861&amp;title=error-438-object-doesnt-support-this-property#62861</guid>
  </item> 
  <item>
   <title><![CDATA[Error 438 Object doesn&#039;t support this property : Thank for reading,Line 200 is...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17936&amp;PID=62859&amp;title=error-438-object-doesnt-support-this-property#62859</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5535">Biox</a><br /><strong>Subject:</strong> 17936<br /><strong>Posted:</strong> 22 February 2011 at 4:07am<br /><br />Thank for reading,<br><br>Line 200 is giving me an error as "Error 438 Object doesn't support this property or method"<br><br>Appreciate your help as I am sure this was working previously in this project. I've migrated to a new machine and cannot compile this. <br><br>thanks<br><br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim RibbonBar As RibbonBar<br>80&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set RibbonBar = CommandBars.AddRibbonBar("The Ribbon")<br>90&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RibbonBar.EnableDocking xtpFlagStretched<br>100&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RibbonBar.ShowQuickAccess = False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim ControlFile As CommandBarPopup<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim Control As CommandBarControl<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim PopupBar As CommandBar<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim TabWrite As RibbonTab<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>110&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set ControlFile = RibbonBar.AddSystemButton()<br>120&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ControlFile.IconId = ID_SYSTEM_ICON<br>130&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ControlFile.Caption = "&amp;File"<br>140&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ControlFile.CommandBar.SetIconSize 32, 32<br>150&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With ControlFile.CommandBar.Controls<br><br>160&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = .Add(xtpControlButton, ID_FILE_USERS, "&amp;Users")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>170&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = .Add(xtpControlSplitButtonPopup, ID_FILE_DRIVES, "&amp;Drives")<br>180&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.BeginGroup = True<br>190&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set PopupBar = CommandBars.CreateCommandBar("CXTPRibbonSystemPopupBarPage")<br><br>200&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control.CommandBar = PopupBar<br><br><br>]]>
   </description>
   <pubDate>Tue, 22 Feb 2011 04:07:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17936&amp;PID=62859&amp;title=error-438-object-doesnt-support-this-property#62859</guid>
  </item> 
 </channel>
</rss>