﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » Custom business Binding Source</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 08 Apr 2026 12:52:20 GMT</lastBuildDate><ttl>20</ttl><item><title>Custom business Binding Source</title><link>http://forum.strataframe.net/FindPost18561.aspx</link><description>Just looking at this, is it not supposed to show up as a toolboxitem? I am going to work on integrating this into my report engine today and that is the first thing&amp;nbsp;I noticed.</description><pubDate>Wed, 20 Aug 2008 13:38:07 GMT</pubDate><dc:creator>Paul Chase</dc:creator></item><item><title>RE: Custom business Binding Source</title><link>http://forum.strataframe.net/FindPost18638.aspx</link><description>[codesnippet]&amp;lt Cool! &amp;gt  [/codesnippet]&lt;br&gt;
&lt;br&gt;
Thanks, Dustin  :)</description><pubDate>Wed, 20 Aug 2008 13:38:07 GMT</pubDate><dc:creator>Charles R Hankey</dc:creator></item><item><title>RE: Custom business Binding Source</title><link>http://forum.strataframe.net/FindPost18604.aspx</link><description>You have to use "&amp; lt;" (without the space) and "&amp; gt;" (without the space) to get it to put the angle brackets. Otherwise it strips them :)</description><pubDate>Tue, 19 Aug 2008 21:40:11 GMT</pubDate><dc:creator>Dustin Taylor</dc:creator></item><item><title>RE: Custom business Binding Source</title><link>http://forum.strataframe.net/FindPost18601.aspx</link><description>Trent, how did you format the code block with the attribute in your message above?  I tried quote codesnippet and double bracket and didn't get any content ??</description><pubDate>Tue, 19 Aug 2008 17:02:53 GMT</pubDate><dc:creator>Charles R Hankey</dc:creator></item><item><title>RE: Custom business Binding Source</title><link>http://forum.strataframe.net/FindPost18600.aspx</link><description>I guess I should have mentioned my comment was only meant in keeping with my new policy of blurting out any blatantly obvious thing I find :D hoping some lurker who hasn't run across that one yet might benefit from it. I would encourage others to do the same.  ( I am also hoping it will benefit me when i forget i knew that and do a forum search for an answer - anybody read [i]Sirens of Titan[/i] ? )&lt;br&gt;
&lt;br&gt;
I benefited from your thread being here as the custom business binding source was shown in class last month, I thought I understood what was going on, then when I got home I couldn't find an example in the class examples, didn't see it in the toolbox and thought I might have dreamed the whole thing.  (there was a [u]lot[/u] of material to absorb)&lt;br&gt;
&lt;br&gt;
Then while reading your question it hit me we were talking about adding a component to the solution and the wizard would set it up.  I am still very new to this so I am looking for an example of where to use this outside of reporting.&lt;br&gt;
&lt;br&gt;
I'm searching the help and forum and now for other posts on this, but if anyone has custom business binding samples, suggestions or tips feel free to throw them in here ...&lt;br&gt;
&lt;br&gt;</description><pubDate>Tue, 19 Aug 2008 16:53:26 GMT</pubDate><dc:creator>Charles R Hankey</dc:creator></item><item><title>RE: Custom business Binding Source</title><link>http://forum.strataframe.net/FindPost18591.aspx</link><description>Hi Charles you are right about the toolbox visible attribute it lives in component model and thus i would need to import or directly reference that assembly to get that attribute to work.&amp;nbsp;But I dont think the issue with the component not appearing was&amp;nbsp;from not importing or referencing component model which i did :),&amp;nbsp;I created a custom attribute that was housed in a seperate asembly in my solution for whatever reason VS would see&amp;nbsp;everything fine&amp;nbsp;i..e no compiler errors etc, but the component&amp;nbsp;would not show up&amp;nbsp;until&amp;nbsp;I restarted VS. I'm 99%&amp;nbsp;positive that the issue was due the the custom attribute&amp;nbsp;being just recently added to the solution&amp;nbsp;during that&amp;nbsp;same&amp;nbsp;session VS gets silly about things like that sometimes and make you go crazy so&amp;nbsp;I restarted it and everything worked as it supposed to.&amp;nbsp;I guess because the custom attribute was causing some kind of a problem the toolbox attribute was never getting evaluated thus no item in my toolbox.</description><pubDate>Tue, 19 Aug 2008 13:24:02 GMT</pubDate><dc:creator>Paul Chase</dc:creator></item><item><title>RE: Custom business Binding Source</title><link>http://forum.strataframe.net/FindPost18586.aspx</link><description>For lurkers &lt;br&gt;
&lt;br&gt;
- for the attribute &lt;toolboxitem(true)&gt; _ to work you must either import systems.componentmodel&lt;br&gt;
&lt;br&gt;
or set the attribute as &lt;componentmodel.toolboxitem(true)&gt; _ &lt;br&gt;
&lt;br&gt;
The component should appear after a rebuild unless there is another instance of VS open.&lt;br&gt;
&lt;br&gt;</description><pubDate>Tue, 19 Aug 2008 12:15:56 GMT</pubDate><dc:creator>Charles R Hankey</dc:creator></item><item><title>RE: Custom business Binding Source</title><link>http://forum.strataframe.net/FindPost18569.aspx</link><description>Sounds good :)</description><pubDate>Tue, 19 Aug 2008 09:49:59 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Custom business Binding Source</title><link>http://forum.strataframe.net/FindPost18567.aspx</link><description>Got it.. I had to add a custom attribute as well and for whatever reason VS wouldn't show&amp;nbsp;it in the toolbox&amp;nbsp;until i restarted&amp;nbsp;VS i guess because i had just added the custom attribute class&amp;nbsp;VS needed to reload I got no error or anything. &amp;nbsp;Well it works like it should now the custom BBS looks promising will let you know if i hit a wall , thanks</description><pubDate>Tue, 19 Aug 2008 09:43:50 GMT</pubDate><dc:creator>Paul Chase</dc:creator></item><item><title>RE: Custom business Binding Source</title><link>http://forum.strataframe.net/FindPost18562.aspx</link><description>By default, no.&amp;nbsp; You will want to add the ToolboxItem attribute to the classes that you create that you want to show up in the toolbox.&lt;/P&gt;&lt;P&gt;[codesnippet]&amp;lt;ToolboxItem(True)&amp;gt; _&lt;BR&gt;Public MyClass&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Inherits MicroFour.StrataFrame.Business.BusinessBindingSource(Of MyBOType)&lt;/P&gt;&lt;P&gt;End Class[/codesnippet]</description><pubDate>Tue, 19 Aug 2008 09:24:57 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>