What Is Toolbox In Visual Basic
The Toolbox in Visual Basic is a window in the development environment that lets you select controls and components for an application's interface. In Visual Studio, you can drag items such as buttons, labels and text boxes onto a form, then configure their properties and.
Which licences fit your PC setup?
Prices are an AUD snapshot, not a live quote. Confirm variant and total on the listing.
-

Windows 11 Pro key
$14.99 AUD
$29.00 -

Office 2024 Pro Plus key
$20.00 AUD
$39.00 -

Windows 11 Home key
$18.88 AUD
$37.00
How the Toolbox fits into Visual Basic development
Visual Basic is the programming language; the Toolbox belongs to the development environment. This guide uses Visual Basic Windows Forms projects in Visual Studio as its example. Other designers can offer different items and workflows.
Building a form involves three connected tasks: choosing its controls, setting their properties and writing the code that handles user actions. The Toolbox handles the first task. A Button provides a standard clickable interface element, but you still decide what clicking it should do.
For related lessons on forms and application behaviour, browse the Visual Basic guides.
Open the Toolbox and add a control
Start with a Windows Forms project and an open form designer. A code editor alone does not provide a surface on which to place controls.
- In Solution Explorer, right-click the form and select View Designer.
- Choose View > Toolbox, or press Ctrl+Alt+X.
- Find the control you need in the available categories, or use the Toolbox search box.
- Drag the control onto the form and adjust its position and size.
- Select the control on the form to configure it in the Properties window.
The available items depend on the active designer and the project's target framework. A control shown in another tutorial may therefore be absent from your project. Microsoft's Toolbox documentation explains this context and the window's display options.
Choose a control for the task
Choose controls according to what the user needs to do. A form that collects a name needs an input field; a form that asks users to choose from a predefined list needs a selection control.
| User interface task | Windows Forms control | Typical use |
|---|---|---|
| Display explanatory text | Label | Identify an input field or show a result. |
| Accept typed text | TextBox | Collect a name, search term or comment. |
| Trigger an action | Button | Submit input or start a calculation. |
| Offer a drop-down list | ComboBox | Let users choose a category or setting. |
| Offer an independent option | CheckBox | Let users turn a preference on or off. |
| Display tabular data | DataGridView | Present records in rows and columns. |
Microsoft's Windows Forms control reference describes these controls and other available components. Check the control's capabilities before adding extra elements to work around an unsuitable choice.
Set properties, then connect events
Properties configure the selected control
After placing a control, open View > Properties Window or press F4. For a Button, Text sets the visible caption, while (Name) identifies the control in your code. A name such as btnCalculate makes its purpose clearer than Button1.
For example, set a button's Text to Calculate and its (Name) to btnCalculate. These values serve different purposes: users see the caption, while your event code refers to the control's name. The guide to the Properties window in Visual Basic explains how to edit the selected object's settings.
Events connect the interface to your code
An event reports an action or change, such as a button click. An event handler is the procedure that runs in response. Double-clicking a Button on the Windows Forms designer opens its Click event handler, where you can add the required Visual Basic statements.
For a small exercise, add a Button and a Label. Name the label lblResult, then place the statement lblResult.Text = "Ready" inside the button's Click handler. Run the application and click the button to check that the label changes. Microsoft's Visual Basic Windows Forms tutorial demonstrates this workflow.
Use components for behaviour beyond visible controls
Some Toolbox items provide behaviour without occupying visible space in the running form. For example, a Timer raises events at intervals. These components still need appropriate settings and event code; adding one does not complete the feature.
Printing illustrates this distinction. A PrintDocument component appears in the designer's component tray, and its PrintPage event is where you supply the drawing logic for the printed page. Microsoft's PrintDocument overview explains its role. To build that feature, follow the guide on how to print in Visual Basic.
Organise the Toolbox and check missing items
You can pin the Toolbox to keep it open and use its right-click menu to add tabs or sort items. Custom tabs are useful when you repeatedly use the same small group of controls.
For compatible additional controls, Choose Items lets you select what appears in the Toolbox. It does not create a custom control: that control must already exist and support your project's framework and designer.
If the Toolbox is empty or an item is unavailable, check the context before changing settings:
- Activate the form designer rather than the code editor.
- Clear the Toolbox search field so it does not hide matching items.
- Check whether the control supports your project type and target framework.
Next, open a practice form, add one Button and one Label, and connect the button's Click event to a visible label change.
Other editions for separate workloads
Other editions for separate workloads; prices in AUD, confirm the total on the listing.
-

Windows 10 Pro key
$12.00 AUD
$15.00 -

Microsoft 365 Pro Plus, 5 devices
$15.00 AUD
$29.00 -

Windows Server 2022 Standard
$120.00 AUD
$239.00
How to check this worked
- Open Settings, System, Activation and confirm the edition shown.
- Enter the key and run activation; expect a green tick within a minute.
- Reboot and re-check activation survives the restart.
FAQ
What else should you know before buying?
- What do I need before starting?
- Read the requirements and confirm the edition first; the steps assume the machine is compatible.
- How do I know the licence is genuine?
- Activate on Microsoft's servers and check Settings, System, Activation. A working activation is the test.
- Is this a subscription?
- Keys sold here are one-time lifetime licences. Microsoft 365 plans are billed by Microsoft instead.
- What if the key fails?
- Email hi@ms.codes with the order number and a screenshot. Replacement or refund applies within 30 days.
Check who prepared and reviewed this guide
- Written by
- MS.Codes editorial
- Reviewed by
- Support team
Last verified: (source review; see test status above).