Difference between revisions of "Visual Basic Essentials"
From Techotopia
Line 15: | Line 15: | ||
# [[About Visual Basic Essentials]] | # [[About Visual Basic Essentials]] | ||
# [[Downloading and Installing Visual Studio]] | # [[Downloading and Installing Visual Studio]] | ||
+ | #* [[Downloading and Installing Visual Studio|Getting Visual Studio]] | ||
+ | #* [[Downloading and Installing Visual Studio|Downloading a Visual Studio Trial]] | ||
+ | #* [[Downloading and Installing Visual Studio|Installing Visual Studio]] | ||
+ | #* [[Downloading and Installing Visual Studio|Starting Visual Studio for the First Time]]<br><br> | ||
# [[Creating a New Visual Basic Project]] | # [[Creating a New Visual Basic Project]] | ||
+ | #* [[Creating a New Visual Basic Project|Creating a Project in Visual Studio]]<br><br> | ||
# [[A Simple Visual Basic Example]] | # [[A Simple Visual Basic Example]] | ||
+ | #* [[A Simple Visual Basic Example|Creating a New Project]] | ||
+ | #* [[A Simple Visual Basic Example|Adding Controls to the Form]] | ||
+ | #* [[A Simple Visual Basic Example|Setting Control Properties]] | ||
+ | #* [[A Simple Visual Basic Example|Creating an Event Handler]] | ||
+ | #* [[A Simple Visual Basic Example|Building and Running a Visual Basic Application]]<br><br> | ||
# [[Visual Basic and Forms]] | # [[Visual Basic and Forms]] | ||
+ | #* [[Visual Basic and Forms|Creating a New Form]] | ||
+ | #* [[Visual Basic and Forms|Changing the Form Name]] | ||
+ | #* [[Visual Basic and Forms|Changing the Form Title]] | ||
+ | #* [[Visual Basic and Forms|Changing the Form Background Color]] | ||
+ | #* [[Visual Basic and Forms|Changing The Form Background Image]] | ||
+ | #* [[Visual Basic and Forms|Configuring the Minimize, Maximize and Close Buttons]] | ||
+ | #* [[Visual Basic and Forms|Setting Minimum and Maximum Form Sizes]] | ||
+ | #* [[Visual Basic and Forms|Specifying the Position of a Form on the Display]] | ||
+ | #* [[Visual Basic and Forms|Changing the Form Border]] | ||
+ | #* [[Visual Basic and Forms|Stopping a Form from Appearing the Windows Taskbar]] | ||
+ | #* [[Visual Basic and Forms|Creating a Transparent Form]]<br><br> | ||
# [[Designing Forms in Visual Studio]] | # [[Designing Forms in Visual Studio]] | ||
+ | #* [[Designing Forms in Visual Studio|Visual Basic Forms and Controls]] | ||
+ | #* [[Designing Forms in Visual Studio|Double Clicking the Control in the Toolbox]] | ||
+ | #* [[Designing Forms in Visual Studio|Dragging a Dropping Controls onto the Form]] | ||
+ | #* [[Designing Forms in Visual Studio|Drawing a Control on the Form]] | ||
+ | #* [[Designing Forms in Visual Studio|Positioning and Sizing Controls Using the Grid]] | ||
+ | #* [[Designing Forms in Visual Studio|Positioning Controls Using Snap Lines]] | ||
+ | #* [[Designing Forms in Visual Studio|Selecting Multiple Controls]] | ||
+ | #* [[Designing Forms in Visual Studio|Aligning and Sizing Groups of Controls]] | ||
+ | #* [[Designing Forms in Visual Studio|Setting Properties on a Group of Controls]] | ||
+ | #* [[Designing Forms in Visual Studio|Anchoring and Autosizing Form Controls]] | ||
+ | #* [[Designing Forms in Visual Studio|Setting Tab Order in a Form]]<br><br> | ||
# [[Understanding Visual Basic Events]] | # [[Understanding Visual Basic Events]] | ||
+ | # [[Understanding Visual Basic Events|Event Triggers]] | ||
+ | # [[Understanding Visual Basic Events|Wiring Up Events in Visual Studio]] | ||
+ | # [[Understanding Visual Basic Events|Setting Up a Visual Basic Timer Event]]<br><br> | ||
# [[Hiding and Showing Forms in Visual Basic]] | # [[Hiding and Showing Forms in Visual Basic]] | ||
+ | #* [[Hiding and Showing Forms in Visual Basic|Creating a Visual Basic Application Containing Multiple Forms]] | ||
+ | #* [[Hiding and Showing Forms in Visual Basic|Understanding Modal and Non-modal Forms]] | ||
+ | #* [[Hiding and Showing Forms in Visual Basic|Writing Visual Basic Code to Display a Non-Modal Form]] | ||
+ | #* [[Hiding and Showing Forms in Visual Basic|Writing Visual Basic Code to Display a Modal Form]] | ||
+ | #* [[Hiding and Showing Forms in Visual Basic|Hiding Forms in Visual Basic]] | ||
+ | #* [[Hiding and Showing Forms in Visual Basic|Closing Forms in Visual Basic]]<br><br> | ||
# [[Creating a Visual Basic MDI Form]] | # [[Creating a Visual Basic MDI Form]] | ||
+ | #* [[Creating a Visual Basic MDI Form|What is an MDI?]] | ||
+ | #* [[Creating a Visual Basic MDI Form|Creating an MDI Parent and Child Forms in Visual Studio]] | ||
+ | #* [[Creating a Visual Basic MDI Form|Writing the Visual Basic Code to Add the Children to the MDI Parent]]<br><br> | ||
# [[Creating Top-Level Menus in Visual Basic]] | # [[Creating Top-Level Menus in Visual Basic]] | ||
+ | #* [[Creating Top-Level Menus in Visual Basic|Creating a Top-Level Menu]] | ||
+ | #* [[Creating Top-Level Menus in Visual Basic|Deleting and Moving Menu Items]] | ||
+ | #* [[Creating Top-Level Menus in Visual Basic|Assigning Keyboard Shortcuts to Menu Items]] | ||
+ | #* [[Creating Top-Level Menus in Visual Basic|Programming Menu Items in Visual Basic]]<br><br> | ||
# [[Creating Context Menus in Visual Basic]] | # [[Creating Context Menus in Visual Basic]] | ||
+ | #* [[Creating Context Menus in Visual Basic|Adding Context Menus to a Visual Basic Form]] | ||
+ | #* [[Creating Context Menus in Visual Basic|Associating a Component with a Context Menu]] | ||
+ | #* [[Creating Context Menus in Visual Basic|Programming Visual Basic Context Menu Options]] | ||
+ | #* [[Creating Context Menus in Visual Basic|Compiling and Running the Application]]<br><br> | ||
# [[Building a Visual Basic Toolbar]] | # [[Building a Visual Basic Toolbar]] | ||
+ | #* [[Building a Visual Basic Toolbar|Creating a Toolbar]] | ||
+ | #* [[Building a Visual Basic Toolbar|Adding Tooltip Text to Toolbar Controls]] | ||
+ | #* [[Building a Visual Basic Toolbar|Programming Toolbar Controls]] | ||
+ | #* [[Building a Visual Basic Toolbar|Changing the Toolbar Position]]<br><br> | ||
# [[Building a Visual Basic Status Bar]] | # [[Building a Visual Basic Status Bar]] | ||
+ | #* [[Building a Visual Basic Status Bar|Adding a Status Bar to a Visual Basic Application]] | ||
+ | #* [[Building a Visual Basic Status Bar|Adding Items to a Status Bar]]<br><br> | ||
# [[Visual Basic Modules and Procedures]] | # [[Visual Basic Modules and Procedures]] | ||
+ | #* [[Visual Basic Modules and Procedures|Visual Basic Code Modules]] | ||
+ | #* [[Visual Basic Modules and Procedures|Visual Basic Code Procedures]] | ||
+ | #* [[Visual Basic Modules and Procedures|Defining Visual Basic Subroutines]] | ||
+ | #* [[Visual Basic Modules and Procedures|Passing Parameters to Functions and Subroutines]] | ||
+ | #* [[Visual Basic Modules and Procedures|Defining Visual Basic Functions]]<br><br> | ||
# [[Understanding Visual Basic Variable and Constant Types]] | # [[Understanding Visual Basic Variable and Constant Types]] | ||
+ | #* [[Understanding Visual Basic Variable and Constant Types|Boolean Variable]] | ||
+ | #* [[Understanding Visual Basic Variable and Constant Types|Char Variable]] | ||
+ | #* [[Understanding Visual Basic Variable and Constant Types|Byte Variable]] | ||
+ | #* [[Understanding Visual Basic Variable and Constant Types|Date Variable]] | ||
+ | #* [[Understanding Visual Basic Variable and Constant Types|Decimal Variable]] | ||
+ | #* [[Understanding Visual Basic Variable and Constant Types|Double Variable]] | ||
+ | #* [[Understanding Visual Basic Variable and Constant Types|Integer Variable]] | ||
+ | #* [[Understanding Visual Basic Variable and Constant Types|Object Variable]] | ||
+ | #* [[Understanding Visual Basic Variable and Constant Types|Long Variable]] | ||
+ | #* [[Understanding Visual Basic Variable and Constant Types|Short Variable]] | ||
+ | #* [[Understanding Visual Basic Variable and Constant Types|String Variable]]<br><br> | ||
# [[Declaring Visual Basic Variables and Constants]] | # [[Declaring Visual Basic Variables and Constants]] | ||
+ | #* [[Declaring Visual Basic Variables and Constants|Declaring Visual Basic Variables]] | ||
+ | #* [[Declaring Visual Basic Variables and Constants|Initializing Visual Basic Variables]] | ||
+ | #* [[Declaring Visual Basic Variables and Constants|Assigning New Values to Visual Basic Variables]] | ||
+ | #* [[Declaring Visual Basic Variables and Constants|Referencing Variable Values]] | ||
+ | #* [[Declaring Visual Basic Variables and Constants|Understanding Variable and Constant Scope]] | ||
+ | #* [[Declaring Visual Basic Variables and Constants|Declaring and Referencing Visual Basic Constants]] | ||
+ | #* [[Declaring Visual Basic Variables and Constants|Static Variables in Visual Basic]] | ||
+ | #* [[Declaring Visual Basic Variables and Constants|Declaring and Referencing Visual Basic Constant]]<br><br> | ||
# [[Visual Basic Arithmetic]] | # [[Visual Basic Arithmetic]] | ||
+ | #* [[Visual Basic Arithmetic|Understanding Expressions]] | ||
+ | #* [[Visual Basic Arithmetic|Visual Basic Operator Precedence]] | ||
+ | #* [[Visual Basic Arithmetic|Visual Basic Addition]] | ||
+ | #* [[Visual Basic Arithmetic|Visual Basic Subtraction and Negation]] | ||
+ | #* [[Visual Basic Arithmetic|Visual Basic Multiplication]] | ||
+ | #* [[Visual Basic Arithmetic|Visual Basic Division]] | ||
+ | #* [[Visual Basic Arithmetic|Visual Basic Exponentiation]] | ||
+ | #* [[Visual Basic Arithmetic|Visual Basic Modulus Arithmetic]]<br><br> | ||
# [[Visual Basic Comparison and Logic]] | # [[Visual Basic Comparison and Logic]] | ||
+ | #* [[Visual Basic Comparison and Logic|Visual Comparison Operators]] | ||
+ | #* [[Visual Basic Comparison and Logic|Visual Basic Logical Operators]]<br><br> | ||
# [[Visual Basic Flow Control]] | # [[Visual Basic Flow Control]] | ||
+ | #* [[Visual Basic Flow Contro|Using If ... Then to Make Decisions]] | ||
+ | #* [[Visual Basic Flow Contro|Using If ... Then .. Else to Make Decisions]] | ||
+ | #* [[Visual Basic Flow Contro|Using If ... Then .. ElseIf to Make Decisions]] | ||
+ | #* [[Visual Basic Flow Contro|Evaluating Multiple Possibilities using Select Case]] | ||
+ | #* [[Visual Basic Flow Contro|Using the Visual Basic GoTo Statement]]<br><br> | ||
# [[Visual Basic For Loops]] | # [[Visual Basic For Loops]] | ||
+ | #* [[Visual Basic For Loops|Creating a Visual Basic For Loop]] | ||
+ | #* [[Visual Basic For Loops|Incrementing a For Loop by a Value Greater Than 1]] | ||
+ | #* [[Visual Basic For Loops|Early Exit of a For Loop]] | ||
+ | #* [[Visual Basic For Loops|Continuing a For Loop]]<br><br> | ||
# [[Visual Basic Do ... Loops]] | # [[Visual Basic Do ... Loops]] | ||
+ | #* [[Visual Basic Do ... Loops|Creating a Visual Basic Do ... Loop]] | ||
+ | #* [[Visual Basic Do ... Loops|Visual Basic Do While Loops]] | ||
+ | #* [[Visual Basic Do ... Loops|Visual Basic Do Until Loops]]<br><br> | ||
# [[Visual Basic Arrays]] | # [[Visual Basic Arrays]] | ||
+ | #* [[Visual Basic Arrays|What is a Visual Basic Array]] | ||
+ | #* [[Visual Basic Arrays|How to Declare a Visual Basic Array]] | ||
+ | #* [[Visual Basic Arrays|Initializing a Visual Basic Array]] | ||
+ | #* [[Visual Basic Arrays|Assigning Values to Individual Array Elements]] | ||
+ | #* [[Visual Basic Arrays|Accessing Array Element Values]] | ||
+ | #* [[Visual Basic Arrays|Finding the Size of an Array]] | ||
+ | #* [[Visual Basic Arrays|Changing the Size of a Visual Basic Array]] | ||
+ | #* [[Visual Basic Arrays|Clearing a Element Ranges from a Visual Basic Array]] | ||
+ | #* [[Visual Basic Arrays|Sorting a Visual Basic Array]] | ||
+ | #* [[Visual Basic Arrays|Searching for Array Elements]]<br><br> | ||
# [[Visual Basic Multidimensional Arrays]] | # [[Visual Basic Multidimensional Arrays]] | ||
+ | #* [[Visual Basic Multidimensional Arrays|Creating a Visual Basic Multidimensional Array]] | ||
+ | #* [[Visual Basic Multidimensional Arrays|Assigning Values to Multidimensional Array Elements]] | ||
+ | #* [[Visual Basic Multidimensional Arrays|Accessing Elements of a Multidimensional Array]]<br><br> | ||
# [[Working with Dates and Times in Visual Basic]] | # [[Working with Dates and Times in Visual Basic]] | ||
+ | #* [[Working with Dates and Times in Visual Basic|Creating and Initializing a Visual Basic Date]] | ||
+ | #* [[Working with Dates and Times in Visual Basic|Accessing the Date and Time in a Date Variable]] | ||
+ | #* [[Working with Dates and Times in Visual Basic|Formatting Dates and Times]] | ||
+ | #* [[Working with Dates and Times in Visual Basic|Adjusting a Date or Time]] | ||
+ | #* [[Working with Dates and Times in Visual Basic|Retrieving Parts of a Date or Time]] | ||
+ | #* [[Working with Dates and Times in Visual Basic|Finding the Interval Between Two Dates or Times]] | ||
+ | #* [[Working with Dates and Times in Visual Basic|Accessing the System Date and Time from Visual Basic]] | ||
+ | #* [[Working with Dates and Times in Visual Basic|Checking if a Value is a Valid Date]]<br><br> | ||
# [[Working with Strings in Visual Basic]] | # [[Working with Strings in Visual Basic]] | ||
+ | #* [[Working with Strings in Visual Basic|Joining Strings in Visual Basic]] | ||
+ | #* [[Working with Strings in Visual Basic|Finding the Length of a String]] | ||
+ | #* [[Working with Strings in Visual Basic|Extracting Text from the Beginning of String]] | ||
+ | #* [[Working with Strings in Visual Basic|Extracting Text from the End of a String]] | ||
+ | #* [[Working with Strings in Visual Basic|Extracting Text from Anywhere in a String]] | ||
+ | #* [[Working with Strings in Visual Basic|Searching for a Substring]] | ||
+ | #* [[Working with Strings in Visual Basic|Trimming Leading and Trailing Spaces from a String]] | ||
+ | #* [[Working with Strings in Visual Basic|Replacing Text in String]]<br><br> | ||
# [[Object Oriented Programming with Visual Basic]] | # [[Object Oriented Programming with Visual Basic]] | ||
+ | #* [[Object Oriented Programming with Visual Basic|What is an Object?]] | ||
+ | #* [[Object Oriented Programming with Visual Basic|What is a Class?]] | ||
+ | #* [[Object Oriented Programming with Visual Basic|Defining a Visual Basic Class]] | ||
+ | #* [[Object Oriented Programming with Visual Basic|Creating Visual Basic Class Properties]] | ||
+ | #* [[Object Oriented Programming with Visual Basic|Defining Class Methods]] | ||
+ | #* [[Object Oriented Programming with Visual Basic|Instantiating an Object from a Visual Basic Class]] | ||
+ | #* [[Object Oriented Programming with Visual Basic|Accessing Object Properties and Methods]]<br><br> | ||
# [[Accessing Databases Using Visual Basic]] | # [[Accessing Databases Using Visual Basic]] | ||
+ | #* [[Accessing Databases Using Visual Basic|Connected to a Database]] | ||
+ | #* [[Accessing Databases Using Visual Basic|Selecting the Data Source]] | ||
+ | #* [[Accessing Databases Using Visual Basic|Linking Data Sources to an Application]] | ||
+ | #* [[Accessing Databases Using Visual Basic|Adding SQL Statements to a Visual Basic Application]]<br><br> | ||
# [[Visual Basic and the DataGridView Control]] | # [[Visual Basic and the DataGridView Control]] | ||
+ | #* [[Visual Basic and the DataGridView Control|Connected to a Database]] | ||
+ | #* [[Visual Basic and the DataGridView Control|Selecting the Data Source]] | ||
+ | #* [[Visual Basic and the DataGridView Control|Adding a DataGridView Control]] | ||
+ | #* [[Visual Basic and the DataGridView Control|Saving Changes to a DataGridView]] | ||
+ | #* [[Visual Basic and the DataGridView Control|Customizing the DataGridView Control]]<br><br> | ||
# [[Working with Files in Visual Basic]] | # [[Working with Files in Visual Basic]] | ||
+ | #* [[Working with Files in Visual Basic|Opening a Text File in Visual Basic]] | ||
+ | #* [[Working with Files in Visual Basic|Writing to a File with Visual Basic]] | ||
+ | #* [[Working with Files in Visual Basic|Reading From a File in Visual Basic]] | ||
+ | #* [[Working with Files in Visual Basic|Detecting a Change to a File]]<br><br> | ||
# [[Working with Directories in Visual Basic]] | # [[Working with Directories in Visual Basic]] | ||
+ | #* [[Working with Directories in Visual Basic|Creating and Removing a Directory In Visual Basic | ||
+ | #* [[Working with Directories in Visual Basic|Obtaining a Directory Information and Contents Listings in Visual Basic]] | ||
+ | #* [[Working with Directories in Visual Basic|Extracting Parts of a Path Name in Visual Basic]] | ||
+ | #* [[Working with Directories in Visual Basic|Copying Directories in Visual Basic]] | ||
+ | #* [[Working with Directories in Visual Basic|Renaming a Directory in Visual Basic]]<br><br> | ||
# [[Drawing Graphics in Visual Basic]] | # [[Drawing Graphics in Visual Basic]] | ||
+ | #* [[Drawing Graphics in Visual Basic|Drawing a Filled Shapes in Visual Basic]] | ||
+ | #* [[Drawing Graphics in Visual Basic|Drawing in Visual Basic Using a Pen]] | ||
+ | #* [[Drawing Graphics in Visual Basic|Drawing Shapes in Visual Basic]] | ||
+ | #* [[Drawing Graphics in Visual Basic|Drawing Text in Visual Basic]] | ||
+ | #* [[Drawing Graphics in Visual Basic|Clearing a Drawing Area]] | ||
</td> | </td> | ||
<td valign="top"> | <td valign="top"> |
Revision as of 15:12, 8 April 2009
Table of Contents | Next | |
About Visual Basic Essentials |
Visual Basic Essentials is an online book designed to aid both novices and experienced programmers in learning Visual Basic. Using theory, code examples and screenshots, this book is intended to provide everything necessary to begin developing Windows applications in Visual Basic.