StrataFrame Forum

My BO's have gone walkabout from the toolbox...

http://forum.strataframe.net/Topic8706.aspx

By Peter Jones - 5/9/2007

Hi,

Here's the scenario - I have several BO's and a form with just one BO. I delete the BO from the form and all the BOs in the toolbox disappear. This is the third time this has happened and I've always managed to recover them by doing I don't know what, i.e. just 'messing around' open/close the solution and VS. Rebuilding the BOs and recompiling. Rebuilding the StrataFrame components in the toolbox. Killing a chicken etc.

However this time I can't find the magic key. Is this a known issue and is there a way of repopulating the toolbox with BOs?

Cheers, Peter

By Trent L. Taylor - 5/10/2007

LOL....Peter I am going to have to remember to use the "walkabout" phrase the next time something goes missing...and I do not think you need to kill a chicken to get the items back.  This is actually not a known issue and is not related to StrataFrame, but rather Visual Studio and how it dynamically adds components and controls to the toolbar that can bee "seen" within your solution.

Make sure that your preferences have the AutoToolboxPopulate property set to True.  Click on Tools -> Options to open the options window then navigate to the Windows Forms Designer section and click the General tab.

This would be the first place that I would look.

By Peter Jones - 5/10/2007

Hi Trent,

Thanks for the prompt reply but I'm afraid the chickens are getting very nervous. I already had that setting in place.

Cheers, Peter

By Trent L. Taylor - 5/10/2007

BigGrin ROFL....well do whatcha gotta do man.  But one thing that you may want to do is load SP1 for Visual Studio 2005.  I have seen this before in my own solutions creating projects, but it is generally when my assembly is stored in the GAC and I create a new BO and then try to select it.  But if you are not storing your assembly in the GAC then this won't be an issue.
By Peter Jones - 5/10/2007

chook's dead baby, chook is dead....

SP1 was loaded and a reload didn't help any. I'm just going to restore from backup and find/reapply changes. Thanks for assistance anyway.

Cheers, Peter

By Peter Jones - 5/10/2007

Hi,

Just a bit more for anyone who comes across the same issue. To start my restore process I decided to just restore the last good .sou file (Solutions User Options) to see what a difference that made and all is now ok. The form from which I deleted the BO has the BO back and all is sweetness and light. Maybe the chookicide helped after all.

Cheers, Peter

By StrataFrame Team - 5/11/2007

That's good... the *.sou file contains the current files that are open and the states of the designers, so I can certainly see where reloading it would have helped.