P. 1
Visual Basic .Net

Visual Basic .Net

|Views: 1,457|Likes:
Published by api-19878188

More info:

Published by: api-19878188 on Dec 01, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPT, PDF, TXT or read online from Scribd
See more
See less

03/18/2014

pdf

text

original

• Form – Gray rectangle which represents the Windows Applications
that the programmer is creating
• The form which is the visual part of the program which the user
interact

VB .net © COPYRIGHT BY BADBOY INC PRESENTED BY:SIR “JPACS”

Introduction to Windows
Application Program

• Messagebox

MesageboxIcon.I
nformation

MessageBox.OK

Title Bar Text

Message Text

VB .net © COPYRIGHT BY BADBOY INC PRESENTED BY:SIR “JPACS”

• MessageBoxIcon.Exclamation – Excalmation Point
• MessageBoxIcon.Information – Icon Containing the letter I
• MessageBoxIcon.Question – Icon Containing question mark
• MessageBoxIcon.Error – Icon containing the red x circle

VB .net © COPYRIGHT BY BADBOY INC PRESENTED BY:SIR “JPACS”

• MessageBoxButtons.OK – OK button
• MessageBoxButtons.OKCancel – OK and Cancel
buttons
• MessageBoxButtons.YesNo – Yes and No Buttons
• MessageBoxButtons.YesNoCancel – Yes, no and
cancel buttons
• MessageBoxButtons.RetryCancel – Retry and
Cancel Button

VB .net © COPYRIGHT BY BADBOY INC PRESENTED BY:SIR “JPACS”

Select Case Multiple-Selection
Structure

Select Case variable
Case
Code
Case
Code
Case Else
Code
End Select

VB .net © COPYRIGHT BY BADBOY INC PRESENTED BY:SIR “JPACS”

Module SelectCaseModule
Sub Main()
Dim choys As Integer
Console.WriteLine("Enter Choice")
choys = Console.ReadLine

Select Case choys
Case 1

Console.WriteLine(1)

Case 2

Console.WriteLine(2)
Case Else

Console.WriteLine("Default")

End Select
End Sub

End Module

VB .net © COPYRIGHT BY BADBOY INC PRESENTED BY:SIR “JPACS”

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->