Toolbox
-
You can customize the Toolbox by adding pages to it or by adding controls using the AdditionalControls command from the Tools menu.
When you add a page, a Select Objects tool is always available on the page.
Standard Toolbox Controls
Select Objects
Select Objects is the only item in the Toolbox that doesn’t draw a control. When you select it, you can only resize or move a control that has already been drawn on a form.
Allows you to have text that you do not want the user to change, such as a caption under a graphic.
Holds text that the user can either enter or change.
Allows you to draw a combination list box and text box. The user can either choose an item from the list or enter a value in the text box.
Use to display a list of items from which the user can choose. The list can be scrolled if it has more items than can be displayed at one time.
Creates a box that the user can easily choose to indicate if something is true or false, or to display multiple choices when the user can choose more than one.
OptionButton
Allows you to display multiple choices from which the user can choose only one.
ToggleButton
Creates a button that toggles on and off.
Allows you to create a graphical or functional grouping for controls. To group controls, draw the frame first, and then draw controls inside the frame.
CommandButton
Creates a button the user can choose to carry out a command.
Allows you to define multiple pages for the same area of a window or dialog box in your application.
Presents multiple screens of information as a single set.
Provides a graphical tool for quickly navigating through a long list of items or a large amount of information, for indicating the current position on a scale, or as an input device or indicator of speed or quantity.
A spinner control you can use with another control to increment and decrement numbers. You can also use it to scroll back and forth through a range of values or a list of items.
Displays a graphical image from a bitmap, icon, or metafile on your form. Images displayed in an Image control can only be decorative and use fewer resources than a PictureBox.
The Toolbox
As the name suggests, the Toolbox contains various tools available in Visual Studio.NET. To open the Toolbox, you can click on the Toolbox tab displayed in the left margin of the IDE. (Refer to Figure 3-1 to see where the Toolbox tab is located in the Visual Studio.NET IDE.) Alternatively, you can open the Toolbox by selecting the Toolbox command from the View menu.
By default, the Toolbox displays only the General and Clipboard Ring tabs. However, the Toolbox displays additional tools on various tabs depending on the currently open designer or editor. To view all the tabs in the Toolbar, you can right-click on the Toolbox and select the Show All Tabs option from the context menu.
The following are some of the tabs available in the Toolbox: ■ General tab
By default, the General tab displays only the Pointer control. However, you can also add controls, such as custom controls, to the General tab. Custom controls are controls defined by users or third-party vendors. Figure 3-5 displays the General tab.

Figure 3-5: The General tab
■ Clipboard Ring tab Similar to the General tab, the Clipboard Ring tab displays the Pointer control by default. In addition to the Pointer control, the Clipboard Ring tab displays the last 12 items added to the clipboard. The clipboard is a memory cache maintained by the Microsoft Windows operating system. Each time you perform a cut or copy operation, the selected item is placed on the clipboard. You use the Paste command to retrieve the copied item from the clipboard. When working in Code Editor in Visual Studio.NET, you can press Ctrl + Shift + V to select an item from the clipboard.
Figure 3-6 displays the Clipboard Ring tab.
Figure 3-5: The General tab
■ Clipboard Ring tab Similar to the General tab, the Clipboard Ring tab displays the Pointer control by default. In addition to the Pointer control, the Clipboard Ring tab displays the last 12 items added to the clipboard. The clipboard is a memory cache maintained by the Microsoft Windows operating system. Each time you perform a cut or copy operation, the selected item is placed on the clipboard. You use the Paste command to retrieve the copied item from the clipboard. When working in Code Editor in Visual Studio.NET, you can press Ctrl + Shift + V to select an item from the clipboard.
Figure 3-6 displays the Clipboard Ring tab.
Text: Private Sub Button 1. 0 Text: Private Sub Form 1 _. ¡5] Text: Private Sub TextSox. H| Text: Private Sub Label 1_.
Figure 3-6: The Clipboard Ring tab ■ Crystal Reports tab
The Crystal Reports tab appears in the Toolbox when you are working in Crystal Report Designer. This tab displays components—such as text objects, line objects, and box objects—that you can use in Crystal Reports. Figure 3-7 displays the Crystal Reports tab.
Sj Text Obiect ^ l.ine Object ^ Box Object
Figure 3-7: The Crystal Reports tab ■ Data tab
The Toolbox displays the Data tab when you create a project that has an associated designer. The Data tab provides data objects—such as datasets and dataviews—that you can include in Visual Basic.NET and Visual C#.NET forms and components. For example, you can insert a DataView control in your form to sort and filter data retrieved from a table. Figure 3-8 displays the Data tab.
¡g3| DataSet ^ CleDbDataAdapter OleDbCcnnection OleDbConnmand SqlDataAdapter
Как открыть тулбокс в визуал бейсик
![]()
This forum is now closed. Thank you for your contributions. If you need more information about where else you can find help, you can visit the resource page.
Answered by:
Question
I am using Visual Studio 2012 Pro and very new to programing
When using the IDE to create a new form the Toolbox that is meant to be to the side of the "Forms Design" is missing. This is the toolbox that is used to insert components such as tables, buttons etc.
I tired resetting the toolbar but no success.
Windows 7 Is my operating system
Answers
I’m using 2008 Standard so this might not be applicable but it’s worth a shot.
Have you checked this?

Please call me Frank 🙂
- Proposed as answer by Youen Zen Moderator Tuesday, October 30, 2012 7:54 AM
- Marked as answer by Youen Zen Moderator Thursday, November 8, 2012 6:44 AM
Did you tried Frank’s solution? If the toolbox still won’t come up, please try to use /ResetSettings (devenv.exe) to reset Visual Studio settings.
Hope this helps.
Shanks Zen
MSDN Community Support | Feedback to us
- Marked as answer by Youen Zen Moderator Thursday, November 8, 2012 6:44 AM
All replies
I’m using 2008 Standard so this might not be applicable but it’s worth a shot.
Have you checked this?

Please call me Frank 🙂
- Proposed as answer by Youen Zen Moderator Tuesday, October 30, 2012 7:54 AM
- Marked as answer by Youen Zen Moderator Thursday, November 8, 2012 6:44 AM
- Edited by Walm12 Monday, October 29, 2012 4:11 AM to choose for alert
Did you tried Frank’s solution? If the toolbox still won’t come up, please try to use /ResetSettings (devenv.exe) to reset Visual Studio settings.
Hope this helps.
Shanks Zen
MSDN Community Support | Feedback to us
- Marked as answer by Youen Zen Moderator Thursday, November 8, 2012 6:44 AM
I am using Visual Studio 2012 Pro and very new to programing
When using the IDE to create a new form the Toolbox that is meant to be to the side of the "Forms Design" is missing. This is the toolbox that is used to insert components such as tables, buttons etc.
I tired resetting the toolbar but no success.
Windows 7 Is my operating system
thanks
I am having the exact same problem. I cant find the toolbox too. I am using VS 2012 and my OS is win 7.
Please help Microsoft. Thanks !
You’ve taught me everything I know but not everything you know.
Dev centers
- Windows
- Office
- Visual Studio
- Microsoft Azure
- More.
Learning resources
- Microsoft Virtual Academy
- Channel 9
- MSDN Magazine
Community
- Forums
- Blogs
- Codeplex
Support
Programs
- BizSpark (for startups)
- Microsoft Imagine (for students)
- Newsletter
- Privacy & cookies
- Terms of use
- Trademarks
© 2023 Microsoft
Открытие и запуск программы в Visual Basic .NET
Если инструмент в среде разработки представлен плавающим окном, вы можете вернуть его в его первоначальное закрепленное положение, дважды щелкнув мышью на строке его заголовка. (Эта же техника применялась в последнем упражнении для раскрытия закрепленного окна: двойной щелчок на строке заголовка работает в ту или другую сторону между двумя стандартными положениями окна.) Когда окно находится в плавающем незакрепленном режиме, его можно закрепить в новом месте. Это может понадобиться, чтобы освободить место в Visual Studio для конкретной задачи программирования, например, для работы над графическим интерфейсом в Windows Forms Designer (Конструкторе Windows Forms). Давайте попробуем закрепить окно Properties (Свойства) на новом месте.
Закрепление окна Properties (Свойства)
Убедитесь, что окно Properties (Свойства) (или другой инструмент, который вы хотите передвинуть) представлено в среде разработки Visual Studio плавающим окном и не закреплено.
Если вы выполнили предыдущее упражнение, то окно Properties (Свойства) будет именно в таком виде.
Перетащите окно Properties (Свойства) за его строку заголовка к верхнему, нижнему, правому или левому краю среды разработки, пока граница окна не «прилипнет» к краю окна среды разработки.
Эта привязка указывает, что, когда вы отпустите кнопку мыши, окно будет закреплено в этом месте. Заметьте, что существует несколько допустимых мест закрепления окон инструментов Visual Studio, так что вы можете попробовать использовать два или три различных положения, пока не найдете то, которое устроит вас больше всего. (Окно должно быть расположено в удобном месте, но не мешать другим используемым окнам инструментов.)
Чтобы закрепить окно Properties (Свойства), отпустите кнопку мыши. Окно будет находиться в том месте, где вы его оставили.

Совет. Чтобы предотвратить закрепление при перетаскивании окна, нажмите и удерживайте при перетаскивании клавишу (Ctrl). Если вы хотите, чтобы передвигаемое окно было совмещено с другим окном в виде закладки, перетащите это окно непосредственно на строку заголовка другого окна. Когда окна связаны друг с другом подобным образом, в нижней части их общего окна появится строка с закладками для каждого из них, и вы сможете переключаться между этими окнами, выбирая их по закладкам. Окна с закладками позволяют эффективно использовать пространство одного окна для двух и более задач. (Например, часто объединяют в виде закладок окна Solution Explorer (Обозреватель решений) и Class View (Представление классов).)
Возможно, некоторые из этих процедур с окнами сначала покажутся странными, но через некоторое время они станут для вас привычны. Вы сможете создать такое пространство окон, в котором хватит места для информации, необходимой для работы с более важными задачами в Конструкторе Windows Forms) и редакторе кода.
Скрытие инструмента в Visual Studio
В Visual Studio .NET имеется механизм для быстрого скрытия и отображения инструментов, который называется автоскрытие. Функция автоскрытия доступна для большинства окон инструментов. Чтобы скрыть окно инструмента, нажмите кнопку Auto Hide (Автоскрытие) в правой части заголовка окна, что приведет к сворачиванию его в закладку на краю среды разработки. А чтобы закрепить окно, нажмите кнопку автоскрытия еще раз. Те же действия можно выполнить с помощью команды Auto Hide (Автоскрытие) из меню Window (Окно). Заметьте, что функция и кнопка автоскрытия доступны только для закрепленных окон. Вы не увидите команды Auto Hide (Автоскрытие) или этой кнопки для активного окна, плавающего поверх среды разработки.
Использование функции автоскрытия
Найдите в среде разработки Toolbox (Область элементов) (ее окно обычно открыто в левой части Конструктора Windows Forms). В области элементов находятся элементы управления, которые можно использовать для создания приложений на Visual Basic. Например, для создания объектов в программе МузВопрос использованы элементы управления Label (надпись), Button (кнопка) и PictureBox (поле для изображения). В области элементов есть и другие наборы элементов управления, доступ к которым можно получить, нажав на закладки в ее окне.
Если области элементов не видна, выберите соответствующую строку в меню View (Вид). На иллюстрации ниже показано, как она выглядит.

Передвиньте мышь из окна Toolbox (Область элементов). Как только вы это сделаете, Toolbox (Область элементов). скроется за пределы экрана и останется только маленькая закладка. (Над закладкой области элементов также видна закладка Server Explorer (Обозреватель серверов) — указание на то, что автоскрытие включено еще для одного окна инструмента. В зависимости от настроек Visual Studio, могут быть видны и другие закладки для окон среды разработки, для которых включено автоскрытие.)
Преимущество автоскрытия для окон в том, что при этом они освобождают значительное место в рабочей области Visual Studio, оставаясь при этом доступными.
Подержите указатель мыши над закладкой Toolbox (Область элементов). (При желании можно щелкнуть на этой закладке.)
Ее окно немедленно выдвинется обратно в пределы видимости, и вы сможете использовать элементы управления для создания интерфейса пользователя. (Мы сделаем это в «Ваша первая программа» .)
Потратьте некоторое время на перемещение, изменение размеров, закрепление и автоскрытие окон инструментов Visual Studio, чтобы создать удобную для вас рабочую среду. При чтении этой книги вы будете периодически настраивать параметры окон так, чтобы приспособить вашу рабочую область для использования новых инструментов. При необходимости вернитесь к этому разделу и снова попрактикуйтесь в этом упражнении.