<?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 : AddSystemButton problem in .NET/C# and VB</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : AddSystemButton problem in .NET/C# and VB]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 10:01:39 +0000</pubDate>
  <lastBuildDate>Sat, 18 Nov 2006 01:49:24 +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=5527</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[AddSystemButton problem in .NET/C# and VB : I pasted my code; exactly what...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5527&amp;PID=17426&amp;title=addsystembutton-problem-in-net-c-and-vb#17426</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1535">SBK2K</a><br /><strong>Subject:</strong> 5527<br /><strong>Posted:</strong> 18 November 2006 at 1:49am<br /><br />I pasted my code; exactly what I did. Where is IssueTrak and how do I submit it?<DIV>&nbsp;</DIV><DIV>Cheers.</DIV>]]>
   </description>
   <pubDate>Sat, 18 Nov 2006 01:49:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5527&amp;PID=17426&amp;title=addsystembutton-problem-in-net-c-and-vb#17426</guid>
  </item> 
  <item>
   <title><![CDATA[AddSystemButton problem in .NET/C# and VB : put the icon in the form icon...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5527&amp;PID=17418&amp;title=addsystembutton-problem-in-net-c-and-vb#17418</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2364">gaudetm</a><br /><strong>Subject:</strong> 5527<br /><strong>Posted:</strong> 17 November 2006 at 10:25am<br /><br />put the icon in the form icon need to convert it and use only 32x32 size icon, look better]]>
   </description>
   <pubDate>Fri, 17 Nov 2006 10:25:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5527&amp;PID=17418&amp;title=addsystembutton-problem-in-net-c-and-vb#17418</guid>
  </item> 
  <item>
   <title><![CDATA[AddSystemButton problem in .NET/C# and VB : Hi, It works in all our samples....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5527&amp;PID=17332&amp;title=addsystembutton-problem-in-net-c-and-vb#17332</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5527<br /><strong>Posted:</strong> 15 November 2006 at 9:46am<br /><br />Hi,<DIV>It works in all our samples. Think you do something wrong. </DIV><DIV>Attach project in issuetrack to show what you do.</DIV>]]>
   </description>
   <pubDate>Wed, 15 Nov 2006 09:46:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5527&amp;PID=17332&amp;title=addsystembutton-problem-in-net-c-and-vb#17332</guid>
  </item> 
  <item>
   <title><![CDATA[AddSystemButton problem in .NET/C# and VB : Hi, I&amp;#039;ve tried to add a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5527&amp;PID=17328&amp;title=addsystembutton-problem-in-net-c-and-vb#17328</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1535">SBK2K</a><br /><strong>Subject:</strong> 5527<br /><strong>Posted:</strong> 15 November 2006 at 8:15am<br /><br />Hi,<DIV><BR>I've tried to add a system button using AddSystemButton to a ribbon bar. I've looked at the samples and no doubt I'm missing something small, and I've also copied the example from the help file and it still isn't working.</DIV><DIV>&nbsp;</DIV><DIV>My code:</DIV><DIV>&nbsp;</DIV><DIV>CommandBars.Icons.LoadBitmap "C:\Program Files\Codejock Software\ActiveX\Xtreme SuitePro ActiveX v10.3.1 (30 Day Trial)\samples\CommandBars\C#.NET\RibbonSample\res\shiny-gear.png", 99, xtpImageNormal</DIV><DIV>&nbsp;&nbsp;&nbsp; Dim RibbonBar As RibbonBar<BR>&nbsp;&nbsp;&nbsp; Set RibbonBar = CommandBars.AddRibbonBar("The Ribbon")<BR>&nbsp;&nbsp;&nbsp; RibbonBar.EnableDocking xtpFlagStretched</DIV><DIV>&nbsp;&nbsp;&nbsp; Dim ControlFile As CommandBarPopup<BR>&nbsp;&nbsp;&nbsp; Dim Control As CommandBarControl</DIV><DIV>&nbsp;&nbsp;&nbsp; Set ControlFile = RibbonBar.AddSystemButton()<BR>&nbsp;&nbsp;&nbsp; ControlFile.IconId = 99<BR>&nbsp;&nbsp;&nbsp; With ControlFile.CommandBar.Controls<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_FILE_NEW, "&amp;New"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_FILE_OPEN, "&amp;Open..."<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_FILE_SAVE, "&amp;Save"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_FILE_SAVE_AS, "Save &amp;As..."<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = .Add(xtpControlButton, ID_FILE_PRINT, "&amp;Print")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.BeginGroup = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_FILE_PRINT_PREVIEW, "Print Pre&amp;view"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_FILE_PRINT_SETUP, "Pr&amp;int Setup..."<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = .Add(xtpControlButton, ID_FILE_MRU_FILE1, "Recent File")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.BeginGroup = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.Enabled = False<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = .Add(xtpControlButton, ID_APP_EXIT, "E&amp;xit")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.BeginGroup = True<BR>&nbsp;&nbsp;&nbsp; End With<BR></DIV><DIV>This adds the System Menu but there is no icon. The icon is definatley loading correctly because I can assign it to a menu item.</DIV><DIV>&nbsp;</DIV><DIV>This is really frustrating...</DIV>]]>
   </description>
   <pubDate>Wed, 15 Nov 2006 08:15:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5527&amp;PID=17328&amp;title=addsystembutton-problem-in-net-c-and-vb#17328</guid>
  </item> 
 </channel>
</rss>