Difference: VisualBasicNetHowTo (2 vs. 3)

Revision 32006-09-04 - KarenParker

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Introduction to Visual Basic .NET

Launching VB

Here is how you get started with Visual Basic .NET 7.1 as it lives on the x360 computers.
Changed:
<
<
Select Start->Programs->Microsoft Visual Studio .NET 2003->Microsoft Visual Studio .NET.
>
>
Select Start->Programs->Microsoft Visual Studio 2005->Microsoft Visual Studio 2005.
  When that loads, click on the New Project button. Select the Visual Basic folder and the Windows Application icon.

The Visual Studio will open up, which has buttons and lists all over the place. In the center will be a grey sub-window with black dots in it labeled "Form1". The tab "Form1.vb [Design]" above it will be selected (i.e. darker).

Changed:
<
<
On the left is something that says "Toolkit". If you click on that, you'll see a list of GUI elements (what in this context are called controls.) You'll probably see Pointer, Label, Button, CheckBox, etc.
>
>
On the left is something that says "Toolbox". If you click on that, you'll see a list of GUI elements (what in this context are called controls.) You'll probably see Pointer, Label, Button, CheckBox, etc.
 
Changed:
<
<
If you click on the little push-pin on the Toolkit window, it will hang. I don't know why. Instead, click on the X and then go to View->Toolbox. I think that will bring it up in an anchored window.
>
>
Click on the little push-pin on the Toolkit window to keep it "always visible."
 

Pretty Pictures

The basic idea behind Visual Studio is that you do a lot of the GUI building graphically. For example, you can click on Label in the toolkit, then go over to the Form1 window, drag open a rectangle, and voila! You will get a box that says something like Label1.
Line: 39 to 39
 
  • Add a Label that says "Kilometers:".
    • Change the (Name) property of the Label to KilometersTextOutput.
    • Change the Text property to "Kilometers:".
Changed:
<
<
  • Add a Buton that says "Convert!"
>
>
  • Add a Button that says "Convert!"
 
    • Change the (Name) property of the Button to ConvertButton.
    • Change the Text property to "Convert!".
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback