0% found this document useful (0 votes)
15 views2 pages

Visual Basic IDE and Programming Basics

This document provides an overview of the Visual Basic Integrated Development Environment (IDE) and its components. It describes the Toolbox, code editor window, operators, and control flow statements used in Visual Basic. It then discusses selection statements like If/Else and iteration statements like For/Next loops. Finally, it provides steps to create a simple notepad application using an MDI form, rich textbox, and common dialog controls to demonstrate opening, saving, printing and changing color functionality.

Uploaded by

Dipan Sahoo
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views2 pages

Visual Basic IDE and Programming Basics

This document provides an overview of the Visual Basic Integrated Development Environment (IDE) and its components. It describes the Toolbox, code editor window, operators, and control flow statements used in Visual Basic. It then discusses selection statements like If/Else and iteration statements like For/Next loops. Finally, it provides steps to create a simple notepad application using an MDI form, rich textbox, and common dialog controls to demonstrate opening, saving, printing and changing color functionality.

Uploaded by

Dipan Sahoo
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

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
================================================

You might also like