Download presentation
Presentation is loading. Please wait.
1
Everybody
2
Video
3
Junior Instructor(Tech) Computer Mymensingh Polytechnic Institute
S. Juthi Al Saki Junior Instructor(Tech) Computer Mymensingh Polytechnic Institute
4
Subject: Programming Language-3(6653)
Technology: Computer Semester:5th Shift: Both
5
Learning outcome At the end of this session learner’s will be able
To define visual Program. To identify the components of VB. To explain the use of VB. To draw the various types of object .
6
Program No:01 Demonstrate with the overall layout of the visual basic(VB) environment and development tools Open Visual basic program. Then click on open.
7
Form Window:
8
Form Design:
9
Form Design:
11
Output/Result:
12
Questions: What is form? What is IDE? Say two controls name.
Say some properties name.
13
Home work Write a report.
Demonstrate with the overall layout of the visual basic(VB) environment and development tools
14
Next Program:2 Perform the development of simple new application using visual basic which contain at least two controls such as textbox, command button etc.
15
Form Design:
16
Form Design:
18
Output/Result:
19
Questions: What is form? What is IDE? Say two controls name.
Say some properties name.
20
Home work Write a report.
Demonstrate with the overall layout of the visual basic(VB) environment and development tools
21
Next Program:3 Write program to find the roots of a quadratic equation.
24
Control Name Properties
Comments Label1 Caption A= Label2 B= Label3 C= Label4 D= Label5 X= Label6 X1= Label7 X2= Text1 Text Text2 Text3 Text4 Text5 Text6 Text7 Command1 Click Here
27
Run Kivi Rb¨ Run Start/F5
28
A,B,C Gi gvb BbcyU K‡i Click Here G Click Ki‡Z n‡e|
30
Next Program4 Write a program to calculate factorial of any integer using function.
31
Write a program to calculate factorial of any integer using function.
Open Visual Basic Program. Click on Open.
33
Form Design:
34
Control Properties Comments Label1 Caption Factorial value of any integer number Label2 n= Label3 Result Text1 Text Text2 Command1 Click for Factorial
38
Run Kivi Rb¨ Run Start/F5
39
Output:
40
Next Program5 Write a program to find the prime number of any integer number N.
41
Write a program to find the prime number of any integer number N.
Open Visual Basic Program. Click on Open.
43
Form Design:
44
Control Name Properties Comments Label1 Caption Enter number: Label2 Result: Text1 Text Text2 Command1 Prime or Not
46
Programming Code:
47
Run Kivi Rb¨ Run Start/F5
48
Output:
49
Next Program6 Write a program to select and print the largest of three numbers.
50
Write a program to select and print the largest of three numbers
Open Visual Basic Program. Click on Open.
53
Control Name Properties Comments Label1 Caption A= Label2 B= Label3 C= Label4 Largest number is= Text1 Text Text2 Command1 Prime or Not
55
Programming Code:
56
Run Kivi Rb¨ Run Start/F5
57
Output:
58
Next Program7 Write a program to select and print the largest of three numbers.
59
ধন্যবাদ
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.