Create a Visual Basic 2008 Express Project
Start "Visual Basic 2008 Express Edition." Start a new project by clicking on the "File" menu, then select "New Project." Under "Visual Studio installed templates," select "Windows Forms Application." Type the name of your project in the "Name" text box and select "OK."
Using Visual Basic 2008 Express Controls
Select a "TextBox" control from the "Toolbox" pane on the left of your screen. Drag the text box control to "Form1." Add a "Button" control by selecting it and dragging it to "Form1."
Writing Visual Basic Code
Double-click on "Button1" to create a sub named "Button1_Click." Inside "Button1_Click," type "Me.TextBox1.Text = 'Hello, I know how to use Visual Basic 2008 Express!'" Press "F5" to run the program. Click on "Button1."
0 comments:
Post a Comment