Home All Groups Group Topic Archive Search About

First Time Using User Controls

Author
28 Jun 2005 4:39 AM
Justin
I downloaded and added a user control from:
http://www.codeproject.com/vb/net/PictureHoverButton.asp

Now when I try to drag and drop the control on to my form I get the
following error:

The user control 'ProjectTest3.PictureHoverButon' could not be loaded.
Ensure that the library containing the control has been built and a project
refference has been made to the library containing the control.

I don't see anything under refferences and I'm not sure what "building"
entails?

Please help!
Justin

Author
28 Jun 2005 7:31 AM
Ken Tucker [MVP]
Hi,

       Open the User control project.   In the build menu on top select
build solution.  This will compile the usercontrol so you can add it to the
form.

Ken
-----------
"Justin" <Justin@NoSpam.com> wrote in message
news:OWoquv5eFHA.2736@TK2MSFTNGP12.phx.gbl...
I downloaded and added a user control from:
http://www.codeproject.com/vb/net/PictureHoverButton.asp

Now when I try to drag and drop the control on to my form I get the
following error:

The user control 'ProjectTest3.PictureHoverButon' could not be loaded.
Ensure that the library containing the control has been built and a project
refference has been made to the library containing the control.

I don't see anything under refferences and I'm not sure what "building"
entails?

Please help!
Justin
Author
28 Jun 2005 4:50 PM
Justin
Thanks Ken!  That did the trick!


Show quoteHide quote
"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:Oo%23xmN7eFHA.1328@TK2MSFTNGP12.phx.gbl...
> Hi,
>
>       Open the User control project.   In the build menu on top select
> build solution.  This will compile the usercontrol so you can add it to
> the
> form.
>
> Ken
> -----------
> "Justin" <Justin@NoSpam.com> wrote in message
> news:OWoquv5eFHA.2736@TK2MSFTNGP12.phx.gbl...
> I downloaded and added a user control from:
> http://www.codeproject.com/vb/net/PictureHoverButton.asp
>
> Now when I try to drag and drop the control on to my form I get the
> following error:
>
> The user control 'ProjectTest3.PictureHoverButon' could not be loaded.
> Ensure that the library containing the control has been built and a
> project
> refference has been made to the library containing the control.
>
> I don't see anything under refferences and I'm not sure what "building"
> entails?
>
> Please help!
> Justin
>
>
>