Visual C# Express - Custom Controls

D

Danny Tuppeny

Well, this doesn't seem to work at all now :-(

I've created a new user control. I've added a few labels to it. I've
compiled, and it's appeared in my toolbox.

Drag it onto a form, and I get "Failed to load toolbox item 'player'. It
will be removed from the toolbox".

It happened in my last project too, and I assumed it was to do with the
inheritance. This one's simple. I don't think I've ever had this work on my
machine, and I've reinstalled C# Express more than once! :-((

Anyone had similar? Any workarounds?
 
D

Danny Tuppeny

<snip>

From:

http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=16463

"Bug fixed according to Microsoft Lab
The bug has been fixed in the last internal build of Visual Studio 2005 Beta
2 and happened when the directory of the solution contained a # (One of the
sub-directory of my solution was C#, renamed now to CSharp and it
works...)."

LOL! I renamed "C:\Data\C# Projects" to "CSharp Projects" and it works. :blush:)
 
N

Nicholas Paldino [.NET/C# MVP]

Danny,

Is the form in the same project, or a different one? If it is in a
different one, are you sure you have a reference to the assembly created by
the original project?

Hope this helps.
 
D

Danny Tuppeny

Nicholas Paldino said:
Is the form in the same project, or a different one? If it is in a
different one, are you sure you have a reference to the assembly created
by the original project?

Sure was - it's like the problem I was having with the treeview - all solved
now (see my own reply to myself). Defo an MS bug!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top