Visual Basic 2010 Tutorial

2a Visual Basic 2010 – Working With Toolbars – Making Toolbar Buttons Larger

Toolbars are made relatively easy with VB.Net.  They are just another control you add to the form. The normal place for a tool bar is just under the menu bars. Once you add the toolbar you can click on it and you will see a generic button appear. Once you give it a name or …

2a Visual Basic 2010 – Working With Toolbars – Making Toolbar Buttons Larger Read More »

8 Visual Basic 2010 – Visual Basic Express 2010 Data Development with SQL Server Express

Visual Studio Express Tools are the limited but free versions of the Microsoft IDE. One of their limitations is the lack of database server tools. Whereas the paid versions of these tools let you connect to SQL Server this tool only intrinsically connects to Access databases, SQL Server files or SQL Server Compact files. SQL …

8 Visual Basic 2010 – Visual Basic Express 2010 Data Development with SQL Server Express Read More »

7 Visual Basic 2010 –Getting Help in the Program, Error Handling and Debugging

The BASIC programming language was an extremely simple and easy tool. Visual Basic integrated that easy language into a Visual IDE, and it was a in relatively easy language to learn work. But it could not do a lot of things that more powerful languages like C++ could do. Programmers wanted more functionality. As Visual …

7 Visual Basic 2010 –Getting Help in the Program, Error Handling and Debugging Read More »

5 Visual Basic 2010 – The IF Statement, the Basis of Programming, And More

The If Statementt Select Case. Using Goto Using Exit Using an Example in our Program In the previous chapter we programmed the Simple Calculator Form with this code: Dim dNumber1 As Decimal Dim dNumber2 As Decimal Dim dNumberResult As Decimal dNumber1 = CDec(TextBox1.Text) dNumber2 = CDec(TextBox2.Text) If RadioButton1.Checked = True Then dNumberResult = dNumber1 + …

5 Visual Basic 2010 – The IF Statement, the Basis of Programming, And More Read More »

6 Visual Basic 2010 – A Quick Look At Operators, Arithmetic And Logical

6 Visual Basic 2010  –  A Quick Look At  Operators In a previous chapter we programmed the Simple Calculator Form with this code: Dim dNumber1 As Decimal Dim dNumber2 As Decimal Dim dNumberResult As Decimal dNumber1 = CDec(TextBox1.Text) dNumber2 = CDec(TextBox2.Text) If RadioButton1.Checked = True Then dNumberResult = dNumber1 + dNumber2 If RadioButton2.Checked = True …

6 Visual Basic 2010 – A Quick Look At Operators, Arithmetic And Logical Read More »

4 Visual Basic 2010 – A Quick Look At Variables

In the previous chapter we programmed the Simple Calculator Form with this code: Dim dNumber1 As Decimal Dim dNumber2 As Decimal Dim dNumberResult As Decimal dNumber1 = CDec(TextBox1.Text) dNumber2 = CDec(TextBox2.Text) If RadioButton1.Checked = True Then dNumberResult = dNumber1 + dNumber2 If RadioButton2.Checked = True Then dNumberResult = dNumber1 – dNumber2 If RadioButton3.Checked = True …

4 Visual Basic 2010 – A Quick Look At Variables Read More »

3 Visual Basic 2010 – Coding And Running the Simple Calculator Program

Intro to Event Driven Programming Building, Clearing any Errors and Running the Program in Debug Mode In the previous lessons we have been working with a project called LearningVB1.  Open the project.  In the previous lesson we developed Form 1 to this point: Intro to Event Driven Programming Almost 40 years ago, when I first …

3 Visual Basic 2010 – Coding And Running the Simple Calculator Program Read More »

2 Visual Basic 2010 – Working With Text Boxes, Buttons And Other Controls

In the previous lesson we created a project called LearningVB1.  Open the project. Drag Controls onto the Form Using Snap Lines for Professional Looking Alignment In the toolbox drag a textbox onto the form at about the top right of the form.  Drag another textbox again. As you drag this next one, notice the “snap …

2 Visual Basic 2010 – Working With Text Boxes, Buttons And Other Controls Read More »

1 – Visual Basic 2010 Tutorial: Looking At the Development Environment

Create a New Project Saving Your New Project Visual Basic comes in several editions, from the very basic Express edition to the Enterprise version. We will be looking at the Express version (which can be downloaded for free at http://www.microsoft.com/express/windows/ ): Click on Start, then on All Programs, and then on Microsoft Visual Studio 2010 …

1 – Visual Basic 2010 Tutorial: Looking At the Development Environment Read More »

Scroll to Top