Visual Basic 2008 Express Edition - PowerPoint PPT Presentation

Loading...

PPT – Visual Basic 2008 Express Edition PowerPoint presentation | free to view - id: 49f1fc-NDc2Z



Loading


The Adobe Flash plugin is needed to view this content

Get the plugin now

View by Category
About This Presentation
Title:

Visual Basic 2008 Express Edition

Description:

Visual Basic 2008 Express Edition The IDE Visual Basic 2008 Express Visual Basic 2008 Express Visual Basic 2008 Express Visual Basic 2008 Express Creating a Project ... – PowerPoint PPT presentation

Number of Views:737
Avg rating:3.0/5.0
Slides: 17
Provided by: kro55
Category:

less

Write a Comment
User Comments (0)
Transcript and Presenter's Notes

Title: Visual Basic 2008 Express Edition


1
Visual Basic 2008 Express Edition
  • The IDE

2
Visual Basic 2008 Express
Recent Projects
The Start Page
Open an existing project
Create a New Project
3
Visual Basic 2008 Express
Getting Started Web-Based Resources
The Start Page
Web-Based Resources
4
Visual Basic 2008 Express
In this course, we will always create a Windows
Forms Application
Always give the project a meaningful name.
The New Project Dialog
5
Visual Basic 2008 Express
Design Mode
Toolbox
The Form (Window)
Project Explorer
Properties Window
6
Creating a Project
Step 1 Click Create Project in the Recent
Projects Window
7
Creating a Project
Step 2 Select Windows Forms Application in the
New Project dialog box.
Name the project and click OK
8
Creating a Project
Step 3 Select the Form
Set the forms Name property
9
Creating a Project
Step 3 Select the Form
Set the forms Text property
10
Creating a Project
Step 4 Drag and Drop objects onto the form.
Set the objects properties, starting with its
Name property
11
Creating a Project
Complete the Graphical User Interface (GUI) by
dropping objects onto the form and then setting
their properties.
12
Creating a Project
Step 5 Add Code. Double click the button to open
the code window, showing the buttons Click event
You can toggle between Form and Code view by
clicking these icons.
13
Creating a Project
The buttons Click event fires when the user
clicks the button.
Public Class frmHello Private Sub
btnGreet_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles
btnGreet.Click lblGreeting.Text "Hello
World End Sub End Class
This Visual Basic code changes the labels Text
property to the words Hello World
14
Creating a Project
Step 6 Test your code. Click the Play button to
run your program.
15
Creating a Project
Click the button
Close the program
Note the result
16
Creating a Project
Step 7 Save your Project. Select Save All from
the File menu (or click the Save All button on
the toolbar).
Note the location of your project.
VB will Create a folder named the same as your
project. You will ZIP this entire folder into one
compressed file and hand in that file.
About PowerShow.com