Visual Basic An Introduction
VB IDE (Integrated Development Enviornment)
Componets are
- MenuBar
- ToolBox
- Standard Toolbar
- Project Explorer Window
- Properties Window
- Form Layout Window
- Form Designer Window
- Code Editor Window
- Object Browser Window
- Immediate Window
ToolBox All Object Discussion
Object & Event @ Code Editor Window
Mathmetical Operator
Plus (+)
Minus (-)
Into (*)
Division (/)
Integer Division (\)
String Operator
Plus (+)
Empersand (&)
Comparison Operator
> greater than
< less than
== equal to
<= Less than or equal to
>= Greater than or equal to
!= or <> Not Equal To
Logical Operator
and (&&)
or (||)
not (!)
Control Flow Statement
Sequence
Selection
Iteration/Loop
Selection
If Statement
If Else Statement
Nested If
Select Case Statement
Iteration
For....... Next
do while........... loop
while.......... wend
with ................. end with
Input Box Function
Message Box Function
Menu
Designing & Details
Adding Code
Managing Form Methods
MDI & SDI Form
Common Dialog Box
Adodc Control
ToolBar
Status Bar
Creating EXE Files
Using Inbuilt Project & Setup
Create a New Project
Project => Add MDI Form => Open
@MDI Form1 => Properties => Windows State = Maximize
@Form1 => Properties => Windows State = Maximize
@Form1 => Properties => MDI Child => True
@ MDI Form => Design all Suitable Menu for Notepad
@MDI Form1 => Add a Microsoft Common Dialog Control 6.0
- Right Click on Toolbox
- Components
- [Check] = Microsoft Common Dialog Control 6.0
- Apply => Ok
- Drag the CommonDialog Control on the MDI Form
@ Form1 => Add Rich Textbox
- Right Click on Toolbox
- Components
- [Check] = Microsoft Rich Textbox Control 6.0
- Apply => Ok
- Drag the Rich Textbox Control on the MDI Form [BigSize]
---------------------- :|| Write The Codes
||:-----------------------------------
Private Sub clr_Click()
[Link]
[Link] = [Link]
End Sub
Private Sub nw_Click()
Load Form1
[Link]
End Sub
Private Sub opn_Click()
[Link]
[Link] ([Link])
End Sub
Private Sub pnt_Click()
[Link]
End Sub
Private Sub sv_Click()
[Link]
[Link] ([Link])
End Sub
================================================