Toolbox tab will fail to get created if tab name is too long.


If you have something like,
toolbox.exe /vs2005 /installdesktop "<path to your dll>" "My most premium custom component tab list"
The tab will not get created. Looks like there's a 15 character limit for the tab name.


ascarb wrote Jan 28, 2008 at 8:17 PM

Forgot to add this,

What should happen? There should probably be some sort of catch to check for the char limit being exceeded, and if so just cut it down, throw an error/warning to some error file written to the desktop.

JohnnyJ wrote Jan 29, 2008 at 11:18 AM

I've tried adding a tab with a 21 character name to VS 2005, and that worked fine..... I also tried "My most premium custom component tab list" and that worked fine too...
Haven't got a clue what the problem is. Are you using and express edition of VS 2005?

You could try chaning the code so that it first tried adding a tab with the full name, and if that fails, it cuts it down to 15 characters and tries again... That shouldn't be very hard. The code for this program is very straightforward and easy to overlook.

Johnny J.

wrote Feb 13, 2013 at 10:17 PM