<?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 : Recent documents</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Recent documents]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 18:09:00 +0000</pubDate>
  <lastBuildDate>Sat, 22 Jan 2011 11:33:49 +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=17777</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[Recent documents : You really should give all of...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17777&amp;PID=62272&amp;title=recent-documents#62272</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 17777<br /><strong>Posted:</strong> 22 January 2011 at 11:33am<br /><br />You really should give all of your items a unique ID, as it does make things easier - but assuming that you are keeping track of the recent file names, you can remove them by Caption. Here's an example based on my previous example:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>Option Explicit<br><br>Private mo_SysBtn As XtremeCommandBars.CommandBarPopup<br><br>Private Sub Command1_Click()<br>&nbsp;&nbsp; Dim lo_Control As CommandBarControl<br><br>&nbsp;&nbsp; Set lo_Control = Me.CommandBars1.CreateCommandBarControl("CXTPRibbonControlSystemPopupBarListItem")<br>&nbsp;&nbsp; With lo_Control<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Caption = "Not a Recent File"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Id = 1003<br>&nbsp;&nbsp; End With<br>&nbsp;&nbsp; mo_SysBtn.CommandBar.Controls.AddControl lo_Control<br><br><br>&nbsp;&nbsp; Set lo_Control = Me.CommandBars1.CreateCommandBarControl("CXTPRibbonControlSystemPopupBarListItem")<br>&nbsp;&nbsp; With lo_Control<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Caption = "Test 1"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Id = 1004<br>&nbsp;&nbsp; End With<br>&nbsp;&nbsp; mo_SysBtn.CommandBar.Controls.AddControl lo_Control<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; Set lo_Control = Me.CommandBars1.CreateCommandBarControl("CXTPRibbonControlSystemPopupBarListItem")<br>&nbsp;&nbsp; With lo_Control<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Caption = "Test 2"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Id = 1004<br>&nbsp;&nbsp; End With<br>&nbsp;&nbsp; mo_SysBtn.CommandBar.Controls.AddControl lo_Control<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; Set lo_Control = Me.CommandBars1.CreateCommandBarControl("CXTPRibbonControlSystemPopupBarListItem")<br>&nbsp;&nbsp; With lo_Control<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Caption = "Test 3"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Id = 1004<br>&nbsp;&nbsp; End With<br>&nbsp;&nbsp; mo_SysBtn.CommandBar.Controls.AddControl lo_Control<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; Set lo_Control = Me.CommandBars1.CreateCommandBarControl("CXTPRibbonControlSystemPopupBarListItem")<br>&nbsp;&nbsp; With lo_Control<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Caption = "Test 4"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Id = 1004<br>&nbsp;&nbsp; End With<br>&nbsp;&nbsp; mo_SysBtn.CommandBar.Controls.AddControl lo_Control<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; Set lo_Control = Me.CommandBars1.CreateCommandBarControl("CXTPRibbonControlSystemPopupBarListItem")<br>&nbsp;&nbsp; With lo_Control<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Caption = "Not a Recent File"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Id = 1005<br>&nbsp;&nbsp; End With<br>&nbsp;&nbsp; mo_SysBtn.CommandBar.Controls.AddControl lo_Control<br>End Sub<br><br>Private Sub Command2_Click()<br>&nbsp;&nbsp; Dim i As Long<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; Dim lo_Ctrl As CommandBarControl<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; For i = mo_SysBtn.CommandBar.Controls.Count To 1 Step -1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set lo_Ctrl = mo_SysBtn.CommandBar.Controls.Item(i)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If lo_Ctrl.Id = 1004 Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If lo_Ctrl.Caption = "Test 3" Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lo_Ctrl.Delete<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp; Next i<br>End Sub<br><br>Private Sub Form_Load()<br>&nbsp;&nbsp; With Me.CommandBars1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .EnableOffice2007Frame True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With .AddRibbonBar("Main")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set mo_SysBtn = .AddSystemButton<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mo_SysBtn.Caption = "&amp;File"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End With<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp; End With<br>End Sub<br></pre></td></tr></table><br>]]>
   </description>
   <pubDate>Sat, 22 Jan 2011 11:33:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17777&amp;PID=62272&amp;title=recent-documents#62272</guid>
  </item> 
  <item>
   <title><![CDATA[Recent documents : Hey Mark,  Thanks for your reply.  All...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17777&amp;PID=62271&amp;title=recent-documents#62271</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4166">JvdH</a><br /><strong>Subject:</strong> 17777<br /><strong>Posted:</strong> 22 January 2011 at 4:32am<br /><br />Hey Mark,<DIV>&nbsp;</DIV><DIV>Thanks for your reply.</DIV><DIV>&nbsp;</DIV><DIV>All the items have the same ID on my list. This would not work for deleting just record.</DIV>]]>
   </description>
   <pubDate>Sat, 22 Jan 2011 04:32:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17777&amp;PID=62271&amp;title=recent-documents#62271</guid>
  </item> 
  <item>
   <title><![CDATA[Recent documents : Hi Not to sure if I am helping...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17777&amp;PID=62248&amp;title=recent-documents#62248</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3545">markmark</a><br /><strong>Subject:</strong> 17777<br /><strong>Posted:</strong> 18 January 2011 at 5:43pm<br /><br />Hi<DIV>Not to sure if I am helping here, but Command1_Click adds and Command2_Click deletes</DIV><DIV>all I had to add from my previous example was an &nbsp;id =23, then find it and delete it.<BR></DIV><DIV>&nbsp;</DIV><DIV><FONT color=#009933>Private Sub Command1_Click()<BR>&nbsp;&nbsp;&nbsp; Dim Control As CommandBarControl<BR>&nbsp;&nbsp;&nbsp; Dim ControlFile As CommandBarPopup<BR>&nbsp;&nbsp;&nbsp; Dim RibbonBar As RibbonBar<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Set RibbonBar = CommandBars.ActiveMenuBar<BR>&nbsp;&nbsp;&nbsp; Set ControlFile = RibbonBar.FindControl(, 50)<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; With ControlFile.CommandBar.Controls<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = CommandBars.CreateCommandBarControl("CXTPRibbonControlSystemPopupBarListItem")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.Caption = "frmMain3.frm"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.Id = 23<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .AddControl Control<BR>&nbsp;&nbsp;&nbsp; End With<BR>End Sub</FONT></DIV><DIV><FONT color=#009933><BR>Private Sub Command2_Click()<BR>&nbsp;&nbsp;&nbsp; Dim Control As CommandBarControl<BR>&nbsp;&nbsp;&nbsp; Dim ControlFile As CommandBarPopup<BR>&nbsp;&nbsp;&nbsp; Dim RibbonBar As RibbonBar<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Set RibbonBar = CommandBars.ActiveMenuBar<BR>&nbsp;&nbsp;&nbsp; Set ControlFile = RibbonBar.FindControl(, 50)<BR>&nbsp;&nbsp;&nbsp; With ControlFile.CommandBar.Controls<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = .Find(, 23)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.Delete<BR>&nbsp;&nbsp;&nbsp; End With</FONT></DIV><DIV><FONT color=#009933>&nbsp;&nbsp;&nbsp; </FONT></DIV><DIV><FONT color=#009933>End Sub</FONT></DIV>]]>
   </description>
   <pubDate>Tue, 18 Jan 2011 17:43:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17777&amp;PID=62248&amp;title=recent-documents#62248</guid>
  </item> 
  <item>
   <title><![CDATA[Recent documents : Hey Mark and JPBro, thank you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17777&amp;PID=62245&amp;title=recent-documents#62245</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4166">JvdH</a><br /><strong>Subject:</strong> 17777<br /><strong>Posted:</strong> 18 January 2011 at 2:22pm<br /><br />Hey Mark and JPBro, thank you for your help. I'm really appreciating this!<DIV>&nbsp;</DIV><DIV>Can't thank you guys&nbsp;enough :)</DIV><DIV>&nbsp;</DIV><DIV>Is there another way to delete an item from the list?</DIV><DIV>Created this for now (reloading the whole menu):</DIV><DIV>Private Function Reload_SystemMenu()<BR>&nbsp;&nbsp;&nbsp; frmMain.ControlFile.CommandBar.Controls.DeleteAll</DIV><DIV>&nbsp;&nbsp;&nbsp; Dim lo_Control As CommandBarControl</DIV><DIV>&nbsp;&nbsp;&nbsp; With frmMain.ControlFile.CommandBar.Controls<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_NEW, LANG_ID_NEW<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_DELETE, LANG_ID_DELETE<BR>&nbsp;&nbsp;&nbsp; End With</DIV><DIV>&nbsp;&nbsp;&nbsp; Set lo_Control = frmMain.CommandBars.CreateCommandBarControl("CXTPRibbonControlSystemPopupBarListCaption")<BR>&nbsp;&nbsp;&nbsp; With lo_Control<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lo_Control.Caption = "Filelist"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lo_Control.BeginGroup = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lo_Control.Id = ID_FILELIST<BR>&nbsp;&nbsp;&nbsp; End With<BR>&nbsp;&nbsp;&nbsp; frmMain.ControlFile.CommandBar.Controls.AddControl lo_Control</DIV><DIV>&nbsp;&nbsp;&nbsp; If tmpStrg &lt;&gt; "" Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FileName = Left$(tmpStrg, Len(tmpStrg) - 4)</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set lo_Control = frmMain.CommandBars.CreateCommandBarControl("CXTPRibbonControlSystemPopupBarListItem")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With lo_Control<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lo_Control.Caption = FileName<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lo_Control.Id = ID_FILENAME<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End With<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmMain.ControlFile.CommandBar.Controls.AddControl lo_Control<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tmpStrg = Dir$<BR>&nbsp;&nbsp;&nbsp; End If</DIV><DIV>&nbsp;&nbsp;&nbsp; Set lo_Control = frmMain.CommandBars.CreateCommandBarControl("CXTPRibbonControlSystemPopupBarButton")<BR>&nbsp;&nbsp;&nbsp; With lo_Control<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lo_Control.Caption = "Exit " &amp; M_APP_NAME_LONG<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lo_Control.Id = ID_EXIT<BR>&nbsp;&nbsp;&nbsp; End With<BR>&nbsp;&nbsp;&nbsp; frmMain.ControlFile.CommandBar.Controls.AddControl lo_Control<BR>End Function</DIV>]]>
   </description>
   <pubDate>Tue, 18 Jan 2011 14:22:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17777&amp;PID=62245&amp;title=recent-documents#62245</guid>
  </item> 
  <item>
   <title><![CDATA[Recent documents : Hi   jpbro solution may be better,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17777&amp;PID=62243&amp;title=recent-documents#62243</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3545">markmark</a><br /><strong>Subject:</strong> 17777<br /><strong>Posted:</strong> 18 January 2011 at 12:48pm<br /><br />Hi <DIV>&nbsp;</DIV><DIV>jpbro solution may be better, but I have just spent the last 1/2 hour trying to find a way for you, so I will post what I found.</DIV><DIV>&nbsp;</DIV><DIV>Working from the codejock Ribbon Sample vbp,</DIV><DIV>I had to add an Id to the ControlFile </DIV><DIV>&nbsp;</DIV><DIV><FONT color=#009933>Set ControlFile = RibbonBar.AddSystemButton()<BR>ControlFile.Id = 50</FONT></DIV><DIV>&nbsp;</DIV><DIV>Then from a button just place on the form I run</DIV><DIV><FONT color=#009933>Private Sub Command1_Click()<BR>&nbsp;&nbsp;&nbsp; Dim Control As CommandBarControl<BR>&nbsp;&nbsp;&nbsp; Dim ControlFile As CommandBarPopup<BR>&nbsp;&nbsp;&nbsp; Dim RibbonBar As RibbonBar<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Set RibbonBar = CommandBars.ActiveMenuBar<BR>&nbsp;&nbsp;&nbsp; Set ControlFile = RibbonBar.FindControl(, 50)<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; With ControlFile.CommandBar.Controls<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = CommandBars.CreateCommandBarControl("CXTPRibbonControlSystemPopupBarListItem")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.Caption = "frmMain3.frm"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .AddControl Control<BR>&nbsp;&nbsp;&nbsp; End With<BR>End Sub</FONT></DIV><DIV><FONT color=#009933></FONT>&nbsp;</DIV><DIV><FONT color=#000000>Hope that makes sence, what took me awhile to find was the&nbsp;<FONT color=#009933> </FONT></FONT><FONT color=#000000>CommandBars.ActiveMenuBar</FONT></DIV><DIV><FONT color=#000000>which gives you the RibbonBar object</FONT></DIV><P><FONT color=#000000><FONT color=#009933></FONT></FONT><FONT color=#000000>Mark<BR></P></FONT>]]>
   </description>
   <pubDate>Tue, 18 Jan 2011 12:48:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17777&amp;PID=62243&amp;title=recent-documents#62243</guid>
  </item> 
  <item>
   <title><![CDATA[Recent documents :  Something like this? Option...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17777&amp;PID=62242&amp;title=recent-documents#62242</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 17777<br /><strong>Posted:</strong> 18 January 2011 at 12:08pm<br /><br />Something like this?<br><br><table width="99%"><tr><td><pre class="BBcode"><br>Option Explicit<br><br>Private mo_Rbn As RibbonBar<br>Private mo_SysBtn As XtremeCommandBars.CommandBarPopup<br><br>Private Sub Command1_Click()<br>&nbsp;&nbsp; Dim lo_Control As CommandBarControl<br><br>&nbsp;&nbsp; Set lo_Control = Me.CommandBars1.CreateCommandBarControl("CXTPRibbonControlSystemPopupBarListItem")<br>&nbsp;&nbsp; With lo_Control<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Caption = "test"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Id = 1004<br>&nbsp;&nbsp; End With<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; mo_SysBtn.CommandBar.Controls.AddControl lo_Control<br>End Sub<br><br>Private Sub Form_Load()<br>&nbsp;&nbsp; With Me.CommandBars1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .EnableOffice2007Frame True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set mo_Rbn = .AddRibbonBar("Main")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With mo_Rbn<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set mo_SysBtn = .AddSystemButton<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mo_SysBtn.Caption = "&amp;File"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End With<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp; End With<br>End Sub<br></pre></td></tr></table><br><br>or maybe more concise if you don't specifically need a CXTPRibbonControlSystemPopupBarListItem:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>Option Explicit<br><br>Private mo_Rbn As RibbonBar<br>Private mo_SysBtn As XtremeCommandBars.CommandBarPopup<br><br>Private Sub Command1_Click()<br>&nbsp;&nbsp; mo_SysBtn.CommandBar.Controls.Add xtpControlButton, 1004, "Test"<br>End Sub<br><br>Private Sub Form_Load()<br>&nbsp;&nbsp; With Me.CommandBars1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .EnableOffice2007Frame True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set mo_Rbn = .AddRibbonBar("Main")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With mo_Rbn<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set mo_SysBtn = .AddSystemButton<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mo_SysBtn.Caption = "&amp;File"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End With<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp; End With<br>End Sub<br></pre></td></tr></table><br>]]>
   </description>
   <pubDate>Tue, 18 Jan 2011 12:08:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17777&amp;PID=62242&amp;title=recent-documents#62242</guid>
  </item> 
  <item>
   <title><![CDATA[Recent documents : So, nobody has a solution for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17777&amp;PID=62241&amp;title=recent-documents#62241</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4166">JvdH</a><br /><strong>Subject:</strong> 17777<br /><strong>Posted:</strong> 18 January 2011 at 11:57am<br /><br />So, nobody has a solution for this?]]>
   </description>
   <pubDate>Tue, 18 Jan 2011 11:57:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17777&amp;PID=62241&amp;title=recent-documents#62241</guid>
  </item> 
  <item>
   <title><![CDATA[Recent documents : Is it possible to add an item...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17777&amp;PID=62180&amp;title=recent-documents#62180</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4166">JvdH</a><br /><strong>Subject:</strong> 17777<br /><strong>Posted:</strong> 12 January 2011 at 4:16pm<br /><br />Is it possible to add an item to the recent documents list on runtime (after the Ribbonbar is created)?<DIV>Is it possible to open the systembutton control to execute the following:</DIV><DIV>Set control = frmMain.CommandBars.CreateCommandBarControl("CXTPRibbonControlSystemPopupBarListItem")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; control.Caption = "test"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; control.Id = 1004</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .AddControl control</DIV><DIV>&nbsp;</DIV><DIV>Or am I thinking in a total wrong direction?</DIV><DIV>&nbsp;</DIV><DIV>Thank you in advance :).</DIV>]]>
   </description>
   <pubDate>Wed, 12 Jan 2011 16:16:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17777&amp;PID=62180&amp;title=recent-documents#62180</guid>
  </item> 
 </channel>
</rss>