Technical Support Glossary Other Information Sources
How to use Visual Basic
Learning Visual Basic
Building a Visual Basic Application
Creating the Interface
Setting Properties
Writing and Debugging Code
Reference
Properties | Programming Language2LZVEKN>Right |
Events | Programming Environment |
Objects | Trappable Errors |
Copyright Notice
These steps are the first part of the process of creating a Visual Basic application.
Create a new project to organize the parts of your application.
Create a form for each window in your application.
Use the Toolbox to draw the controls for each form.
Create a menu bar for the main form.
More information
Adding and Deleting Controls at Run Time
Adding and Deleting Menu Commands at Run Time
Aligning an Item to the Grid
Assigning an Icon to a Form
Changing Grid Spacing
Creating a Control Array
Creating a Menu Bar
Creating a Menu Control Array
Displaying Graphics on a Form
Displaying or Hiding the Grid
Drawing a Control
Drawing Lines and Shapes on a Form
Selecting Controls
This is the second part of the process of creating a Visual Basic application.
Set form and control properties.
More information
Accessing Screen Properties
Binding a Control to a Data Control
Properties List
Setting Colors
Setting Form and Control Properties
Setting Tab Order
Specifying Access Keys
Using MDI Features
These steps are the third part of the process of creating a Visual Basic application.
Write event procedures and general procedures.
Debug your code.
Create an executable file to turn the project into an application.
More information
Communicating with Other Applications
Controlling Program Flow
Debugging Code
Processing Files
Project Management
Using Language Elements
Using the Code Window
Adding, Editing and Deleting Watch Expressions
Executing a Specific Statement
Guidelines for Entering and Editing Code
Importing a Text File into Code
Replacing Text in Code
Saving and Loading forms in ASCII Format
Searching for Text in Code
Setting and Clearing Breakpoints
Splitting a Code Window Into Panes
Turning Syntax Checking On or Off
Using Example Code from Online Help
Using the Debug Window
Attaching an Event Procedure to a Form or Control
Calling Windows API Functions
Creating a Database
Creating a General Procedure
Creating Custom Colors
Entering Declarations in Code
Filling a Grid with Data from a Database
Finding a Procedure
Loading Constants from CONSTANT.TXT or DATACONS.TXT
Querying a Database
Specifying Access Keys
Accessing External Databases
Using SQL (Structured Query Language)
Adding, Editing and Deleting Watch Expressions
Continuing Execution
Debugging Checklist
Executing a Specific Statement
Guidelines for Entering and Editing Code
KnowledgeBase Articles from Microsoft Product Support
Restarting Execution
Setting and Clearing Breakpoints
Starting Execution
Tracing Execution
Turning Syntax Checking On or Off
Using Example Code from Online Help
Using Instant Watch
Using the Debug Window
Using Watch Expressions
Importing a Text File into Code
Saving and Loading Forms in ASCII Format
KnowledgeBase Articles from Microsoft Product Support
Replacing Text in Code
Saving Your Work
Searching for Text in Code
Communicating with other applications
Calling Windows API Functions
Creating a DDE Source or Destination Link
KnowledgeBase Articles from Microsoft Product Support
Using Dynamic Data Exchange (DDE)
Using Custom Controls
Ending Execution
Executing a Specific Statement
Halting Execution
KnowledgeBase Articles from Microsoft Product Support
Restarting Execution
Specifying a Startup Form
Starting Execution
Importing a Text File into Code
KnowledgeBase Articles from Microsoft Product Support
Saving and Loading Forms in ASCII Format
Saving Your Work
Setup Toolkit
Using Example Code from Online Help