<?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 : FileNameOrResource Argument</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : General Discussion : FileNameOrResource Argument]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 21:15:41 +0000</pubDate>
  <lastBuildDate>Wed, 20 Apr 2005 04:31:11 +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=238</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[FileNameOrResource Argument : 1. Add your xcb file in the project. 2....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=238&amp;PID=6305&amp;title=filenameorresource-argument#6305</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1091">Kelbob</a><br /><strong>Subject:</strong> 238<br /><strong>Posted:</strong> 20 April 2005 at 4:31am<br /><br /><P>1. Add your xcb file in the project.</P><P>2. Set the properties to embedded resource</P><P>3. Use the fololling code</P><FONT size=2><P>ResourceManager res = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> ResourceManager(</FONT><FONT color=#0000ff size=2>typeof</FONT><FONT size=2>(MainForm)) ;</P><P></FONT><FONT color=#008000 size=2>// Load Commandbars</P></FONT><FONT size=2><P>CommandBars.LoadDesignerBars(res.GetObject"MainForm.xcb") ,</FONT><FONT color=#0000ff size=2>this</FONT><FONT size=2>) ;</P></FONT><P>where main form is the ..&nbsp;er.. the main form of the application</P><P>Hope this helps</P><P>JK</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Wed, 20 Apr 2005 04:31:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=238&amp;PID=6305&amp;title=filenameorresource-argument#6305</guid>
  </item> 
  <item>
   <title><![CDATA[FileNameOrResource Argument : Thanks for your input downtowntoby....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=238&amp;PID=562&amp;title=filenameorresource-argument#562</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=229">robs</a><br /><strong>Subject:</strong> 238<br /><strong>Posted:</strong> 13 November 2003 at 9:30pm<br /><br /><P>Thanks for your input downtowntoby. I realized that feature, but didn't consider it to be a "resource". I think that using the property page of the ocx to load the .xcb file just throws that info in the&nbsp;registry as binary. I was hoping that "resource" meant some kind of resource file who's file format could be customized (not using Designer Studio).</P><P>I think a better name for the argument would be "FileName" since that's the only type&nbsp;the method accepts. </P><P>Thanks again.</P><span style="font-size:10px"><br /><br />Edited by robs</span>]]>
   </description>
   <pubDate>Thu, 13 Nov 2003 21:30:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=238&amp;PID=562&amp;title=filenameorresource-argument#562</guid>
  </item> 
  <item>
   <title><![CDATA[FileNameOrResource Argument : To add xcb file to resource: Rightclick...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=238&amp;PID=551&amp;title=filenameorresource-argument#551</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=230">downtowntoby</a><br /><strong>Subject:</strong> 238<br /><strong>Posted:</strong> 13 November 2003 at 3:10pm<br /><br /><P>To add xcb file to resource:</P><P>Rightclick on command bars and choose properties.</P><P>Select your xcb file.&nbsp; </P><P>Call CommandBars.LoadDesignerBars without parameters.</P><!-- Signature -->]]>
   </description>
   <pubDate>Thu, 13 Nov 2003 15:10:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=238&amp;PID=551&amp;title=filenameorresource-argument#551</guid>
  </item> 
  <item>
   <title><![CDATA[FileNameOrResource Argument : Does anyone know if the LoadDesignerBars...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=238&amp;PID=544&amp;title=filenameorresource-argument#544</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=229">robs</a><br /><strong>Subject:</strong> 238<br /><strong>Posted:</strong> 13 November 2003 at 9:43am<br /><br />Does anyone know if the LoadDesignerBars method only excepts references to&nbsp;files (.xcb) or does it also except a reference to a&nbsp;resource of some type?]]>
   </description>
   <pubDate>Thu, 13 Nov 2003 09:43:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=238&amp;PID=544&amp;title=filenameorresource-argument#544</guid>
  </item> 
 </channel>
</rss>