How to create a form?

Posted on 2006-05-10
Last Modified: 2010-04-23
I opened and created a project using some database template. But I can't find anywhere that I can add a form to this. Also when I open the toolbox it says "no usable controls in this group".

Is there away to get the Toolbox items to show, and to make form?
Question by:rrr333222
    LVL 9

    Accepted Solution

    In VS2005 you use Project / Add Windows Form, in earlier versions you use Add New Item and select the Windows Form.

    Once you have a new form, you can select its properties, including FormBorderStyle.  DotNet differentiates between Forms and Controls which go on a Form. Forms are treated differently from Controls. Controls are in the Toolbox, Forms are not.

    The ToolBox does not show controls when you are not in the Design Mode. Just switch into design mode th activate the ToolBox (CTRL-F7)

    Expert Comment

    Re. "no usable controls in this group"

    I think this happens if you have the code window open. When you have a form showing, all the controls, e.g. button, textbox, etc will show too.

    Do you have the Solution Explorer open? Just right click the Project's icon, select "Add > Windows Form..."

    If the Solution Explorer isn't open, "Click View > Solution Explorer"

    I hope this helps.  :-)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
    The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now