Visual Basic 2010 Essentials

Visual Basic 2010 Essentials. 2. Visual Basic 2010 Essentials – First Edition ….. Visual Basic 2010 Essentials. 5 standard menu items. This chapter guides ….

More PDF Content

Visual Basic 2010 Essentials

  • Chapter 2. About Visual Basic Essentials. 11 Downloading and Installing Visual Studio. 12Getting Visual Studio. 12 Downloading a Visual Studio Trial. 12 Installing Visual Studio. 13 Starting Visual Studio for the First Time. 14 Creating a New Visual Basic Project. 16
  • Chapter 3. 31Creating a Project in Visual Studio. 16 A Simple Visual Basic Example. 18
  • Chapter 4. Creating a New Project. 18 Adding Controls to the Form. 18 Setting Control Properties. 20 Creating an Event Handler. 22 Building and Running a Visual Basic Application. 23 Visual Basic and Forms. 25
  • Chapter 5. Creating a New Form. 25 Changing the Form Name. 25 Changing the Form Title. 25 Changing the Form Background Color. 26 Changing the Form Background Image. 27 Configuring the Minimize Maximize and Close Buttons. 28 Setting Minimum and Maximum Form Sizes. 29 Specifying the Position of a Form on the Display. 29 Changing the Form Border. 29510 Stopping a Form from Appearing the Windows Taskbar. 30 511 Creating a Transparent Form. 30
  • Chapter 6. Designing Forms in Visual Studio. 31 3Visual Basic 2010 Essentials 61  Visual Basic Forms and Controls. 31 Double Clicking the Control in the Toolbox. 32 Dragging a Dropping Controls onto the Form. 33 Drawing a Control on the Form. 33 Positioning and Sizing Controls Using the Grid. 33 Positioning Controls Using Snap Lines. 34 Selecting Multiple Controls. 35 Aligning and Sizing Groups of Controls. 36 Setting Properties on a Group of Controls. 36610 Anchoring and Autosizing Form Controls. 37 611 Setting Tab Order in a Form. 37
  • Chapter 7. Understanding Visual Basic Events. 39Event Triggers. 39 Wiring Up Events in Visual Studio. 40 Setting Up a Visual Basic Timer Event. 43 Hiding and Showing Forms in Visual Basic. 46
  • Chapter 8. Creating a Visual Basic Application Containing Multiple Forms. 46 Understanding Modal and Nonmodal Forms. 48 Writing Visual Basic Code to Display a NonModal Form. 49 Writing Visual Basic Code to Display a Modal Form. 49 Hiding Forms in Visual Basic. 50 Closing Forms in Visual Basic. 50 Creating a Visual Basic MDI Form. 52Chapter. What is an MDI. 52 Creating an MDI Parent and Child Forms in Visual Studio. 53 Writing the Visual Basic Code to Add the Children to the MDI Parent.
  • Chapter 10. Creating TopLevel Menus in Visual Basic. 56 101 Creating a TopLevel Menu. 56 4Visual Basic 2010 Essentials 102 Adding Standard Menu Items. 57 103 Manually Adding Menu Items using the Form Builder. 58 104 Editing Deleting and Moving Menu Items. 61 105 Assigning Keyboard Shortcuts to Menu Items. 61 106 Programming Menu Items in Visual Basic. 62
  • Chapter 11. Creating Context Menus in Visual Basic. 64 111 Adding Context Menus to a Visual Basic Form. 64 112 Associating a Component with a Context Menu. 65 113 Programming Visual Basic Context Menu Options. 66 114 Compiling and Running the Application. 66
  • Chapter 12. Building a Visual Basic Toolbar. 68 121 Creating a Toolbar. 68 122 Adding Tooltip Text to Toolbar Controls. 69 123 Programming Toolbar Controls. 69 124 Changing the Toolbar Position. 71
  • Chapter 13. Building a Visual Basic Status Bar. 72 131 Adding a Status Bar to a Visual Basic Application. 72 132 Adding Items to a Status Bar. 73
  • Chapter 14. Visual Basic Modules and Procedures. Visual Basic Code Modules. 74 142 Visual Basic Code Procedures. 76 143 Defining Visual Basic Subroutines. 77 144 Passing Parameters to Functions and Subroutines. 78 145 Defining Visual Basic Functions. 80
  • Chapter 15. Understanding Visual Basic Variable and Constant Types. 82 151 Boolean Variable. Char Variable. 82 153 Byte Variable. 82 5Visual Basic 2010 Essentials 154 Date Variable. Decimal Variable. 83 156 Double Variable. 83 157 Integer Variable. Object Variable. 83 159 Long Variable. Short Variable. 83 String Variable. 83
  • Chapter 16. Declaring Visual Basic Variables and Constants. 85 161 Declaring Visual Basic Variables. 85 162 Initializing Visual Basic Variables. 86 163 Assigning New Values to Visual Basic Variables. 86 164 Referencing Variable Values. 87 165 Understanding Variable and Constant Scope. Block Level Scope. 87 Procedure Level Scope. 87 Module Level Scope. 88 Global Scope. 88166 Static Variables in Visual Basic. 88 167 Declaring and Referencing Visual Basic Constants. 89
  • Chapter 17. Visual Basic Arithmetic. Understanding Expressions. Visual Basic Operator Precedence. 91 173 Visual Basic Addition. Visual Basic Subtraction and Negation. 92 175 Visual Basic Multiplication. 92 176 Visual Basic Division. 92 177 Visual Basic Exponentiation. 93 6Visual Basic 2010 Essentials 178 Visual Basic Modulus Arithmetic. 93
  • Chapter 18. Visual Basic Comparison and Logic. 94 181 Visual Comparison Operators. 94 182 Visual Basic Logical Operators. 94
  • Chapter 19 Visual Basic Flow Control. 97 191 Using If. Then to Make Decisions. 97 192 Using If. Then. Else to Make Decisions. 97 193 Using If. Then. ElseIf to Make Decisions. 98 194 Evaluating Multiple Possibilities using Select Case. 99 195 Using the Visual Basic GoTo Statement. 101
  • Chapter 20. Visual Basic For Loops. 102 201 Creating a Visual Basic For Loop. 102 202 Incrementing a For Loop by a Value Greater Than 1. 103 203 Early Exit of a For Loop. 103 204 Continuing a For Loop. 103
  • Chapter 21. Visual Basic Do. Loops. 105 211 Creating a Visual Basic Do. Loop. 105 212 Visual Basic Do While Loops. 105 213 Visual Basic Do Until Loops. 106 214 Summary. 107
  • Chapter 22. Visual Basic Arrays. 108 221 What is a Visual Basic Array. 108 222 How to Declare a Visual Basic Array. 108 223 Initializing a Visual Basic Array. 109 224 Assigning Values to Individual Array Elements. 109 225 Accessing Array Element Values. 110 226 Finding the Size of an Array. 110 227 Changing the Size of a Visual Basic Array. Visual Basic 2010 Essentials 228 Clearing a Element Ranges from a Visual Basic Array. Sorting a Visual Basic Array. Searching for Array Elements. 112
  • Chapter 23. Visual Basic Multidimensional Arrays. 114 231 Creating a Visual Basic Multidimensional Array. Assigning Values to Multidimensional Array Elements. Accessing Elements of a Multidimensional Array. Summary. 115
  • Chapter 24. Working with Dates and Times in Visual Basic. Creating and Initializing a Visual Basic Date. 116 242 Accessing the Date and Time in a Date Variable. 116 243 Formatting Dates and Times. Adjusting a Date or Time. Retrieving Parts of a Date or Time. Finding the Interval Between Two Dates or Times. 119 247 Accessing the System Date and Time from Visual Basic. Checking if a Value is a Valid Date. 120
  • Chapter 25. Working with Strings in Visual Basic.1 Joining Strings in Visual Basic. Finding the Length of a String. Extracting Text from the Beginning of String. Extracting Text from the End of a String. Extracting Text from Anywhere in a String. Searching for a Substring. Trimming Leading and Trailing Spaces from a String. Replacing Text in String. 125
  • Chapter 26. Object Oriented Programming with Visual Basic. What is an Object. 126 8Visual Basic 2010 Essentials 262 What is a Class. Defining a Visual Basic Class. Creating Visual Basic Class Properties. Defining Class Methods. Instantiating an Object from a Visual Basic Class. Accessing Object Properties and Methods. 130
  • Chapter 27. Accessing Databases Using Visual Basic. Installing the NorthWind Sample. Connected to a Database. Selecting the Data Source. 133 274 Linking Data Sources to an Application.5 Adding SQL Statements to a Visual Basic Application. 137
  • Chapter 28. Visual Basic and the DataGridView Control. 139 281 Selecting the Data Source. 140 282 Adding a DataGridView Control. Customizing the DataGridView Control. 142
  • Chapter 29 Working with Files in Visual Basic. Opening a Text File in Visual Basic. FileMode Options. 144 FileAccess Options. 144 FileShare Options. Writing to a File with Visual Basic. Reading From a File in Visual Basic. 146 294 Detecting a Change to a File. 147
  • Chapter 30. Working with Directories in Visual Basic. 148 301 Creating and Removing a Directory In Visual Basic. Obtaining a Directory Information and Contents Listings in Visual Basic. Extracting Parts of a Path Name in Visual Basic. 149 9Visual Basic 2010 Essentials 304 Copying Directories in Visual Basic. Renaming a Directory in Visual Basic. 150
  • Chapter 31. Drawing Graphics in Visual Basic. Drawing Filled Shapes in Visual Basic. Drawing in Visual Basic Using a Pen. Drawing Shapes in Visual Basic. Drawing a Ellipse. 154 Drawing a Rectangle.Drawing Text in Visual Basic.Clearing a Drawing Area. Summary. 156
Download Visual Basic 2010 Essentials pdf from, 26 pages, -KB.
Related Books

4 Responses to “Visual Basic 2010 Essentials”

  1. Fantastic pictures! Option style of info that are supposed to be shared online. Waste on bing for now not necessarily positioning this article higher! Come on around and also take a look at my site. Many thanks =)

  2. cherityguos123 guo on July 16th, 2018 at 2:38 am

    Michael Kors Handbags Outlet is known for its quality and the price speaks for that kind of quality. Look for Michael Kors Bags Outlet which has been operating for quite a period of time and has good feedback and reviews. You can also go for Michael Kors Outlet Online shopping.

  3. It is a time consuming process to locate a legitimate, high-quality designer Michael Kors Handbags On Sale at a decent price. One brand name that is sought after is the Michael Kors Bags On Sale. Anywhere you see high demand you will find people out to make a quick buck.

Leave a Reply