Results 1 to 3 of 3

Thread: [RESOLVED] Add Usercontrol To Toolbox

  1. #1

    Thread Starter
    Fanatic Member BenJones's Avatar
    Join Date
    Mar 2010
    Location
    Wales UK
    Posts
    814

    Resolved [RESOLVED] Add Usercontrol To Toolbox

    hi, I just downloaded VB.NET Express 2010 and I am trying to make a user control
    I start out by makeing a new project then to add a usercontrol I goto Project->Add New Item Then I Add a usercontrol.
    But I cannot see my usercontrol on the toolbar like you used to in VB6, I even tryed draging the control to the toolbox but it still it will not shows. Can someone help me cos I am sort of new to this .NET stuff.

    Thanks

  2. #2
    PowerPoster
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,070

    Re: Add Usercontrol To Toolbox

    You first need to Build your solution successfully. Go to the Build menu and select Build Solution. Keep a close watch on the lower-left corner, it will say either Build failed or Build succeeded. If the build failed, you would have one or more errors in the error list, so fix them first. Once you fixed all errors, try building again, until it says build succeeded (or just when there are no more errors after building).

    Only then does your new UserControl appear in the toolbox.

    The same goes for when you make a change in your UserControl. That change will only be seen after you build the solution.


    (Note, instead of building you can also just run the solution, because it will build it automatically if you do)

  3. #3

    Thread Starter
    Fanatic Member BenJones's Avatar
    Join Date
    Mar 2010
    Location
    Wales UK
    Posts
    814

    Re: Add Usercontrol To Toolbox

    It works thanks NickThissen, Now i can finish my control thanks agian

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width