SlideShare ist ein Scribd-Unternehmen logo
1 von 24
SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY,
NEW RAIPUR(C.G.)
CSE/4th
/GUI Lab/PreparedbyVivekKumarSinha
GUI
PROGRAMMING
LAB
SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY,
NEW RAIPUR(C.G.)
CSE/4th
/GUI Lab/PreparedbyVivekKumarSinha
EXPERIMENT NO-1
Design & identify card containing information regarding students such as Name,Roll
No.,Address,Class Studying,Date Of Birth,Blood Group,Phone No.,etc .Add a Exit
Button.
Property Setting:
Property of Name label box
Name=label1
Caption=Name
Property of Roll No label box
Name=label2
Caption= Roll No
Property of Address label box
Name=label3
Caption= Address
Property of Class label box
Name=label4
Caption= Class
SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY,
NEW RAIPUR(C.G.)
CSE/4th
/GUI Lab/PreparedbyVivekKumarSinha
Property of Date Of Birth label box
Name=label5
Caption= Date Of Birth
Property of Blood Group label box
Name=label6
Caption= Blood Group
Property of Phone No label box
Name=label7
Caption= Phone No
Property of Text box
Name=Text1
Caption=""
Property of Text box
Name=Text2
Caption=""
Property of Text box
Name=Text3
Caption=""
SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY,
NEW RAIPUR(C.G.)
CSE/4th
/GUI Lab/PreparedbyVivekKumarSinha
Property of Text box
Name=Text4
Caption=""
Property of Text box
Name=Text5
Caption=""
Property of Text box
Name=Text6
Caption=""
Property of Text box
Name=Text7
Caption=""
Property of Exit command button
Name=Command1
Caption=Exit
Source Code:
Private Sub cmd_Exit_Click()
SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY,
NEW RAIPUR(C.G.)
CSE/4th
/GUI Lab/PreparedbyVivekKumarSinha
Unload Me
End Sub
SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY,
NEW RAIPUR(C.G.)
CSE/4th
/GUI Lab/PreparedbyVivekKumarSinha
EXPERIMENT NO-2
Develop an application to calculate Interest. It should accept rate of interest, period
for calculation of interest (years), amount on which interest is to be calculated (Rs.).
After clicking Compute Investment amount (Principal + Interest) should be
displayed in separate text box. Add Exit button, Proper text box controls and labels
to be used. Provide 2 options- Simple, Compound interest. Provide Picture and
Radio Button control.
Property Setting:
Property of Principal label box
Name=label1
Caption= Principal
Property of Rate label box
Name=label1
Caption= Rate
Property of Time label box
Name=label1
Caption= Time
Property of Result label box
Name=label1
Caption= Result
Property of Text box
SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY,
NEW RAIPUR(C.G.)
CSE/4th
/GUI Lab/PreparedbyVivekKumarSinha
Name=Text1
Caption=""
Property of Text box
Name=Text2
Caption=""
Property of Text box
Name=Text3
Caption=""
Property of Text box
Name=Text4
Caption=""
Property of SI command button
Name=Command1
Caption=SI
Property of CI command button
Name=Command2
Caption=CI
Property of clear command button
SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY,
NEW RAIPUR(C.G.)
CSE/4th
/GUI Lab/PreparedbyVivekKumarSinha
Name=Command3
Caption=clear
Property of Exit command button
Name=Command4
Caption=Exit
Source Code:
Private Sub cmd_SI_Click()
Text4.text=((Text1.text*Text2.text*Text3.text)/100)
End Sub
Private Sub cmd_CI_Click()
Text4.text=(Text1.text*(1+(Text2.text/100))^Text3.text)
End Sub
Private Sub cmd_Clear_Click()
Text1.text=””
Text2.text=””
Text3.text=””
Text4.text=””
End Sub
SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY,
NEW RAIPUR(C.G.)
CSE/4th
/GUI Lab/PreparedbyVivekKumarSinha
Private Sub cmd_Exit_Click()
Unload Me
End Sub
SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY,
NEW RAIPUR(C.G.)
CSE/4th
/GUI Lab/PreparedbyVivekKumarSinha
EXPERIMENT NO-3
Design a Simple Calculator to implement addition, subtraction, multiplication, division,
remainder operations.
Property Setting:
Property of enter first number label box
Name=label1
Caption= enter first number
Property of enter second number label box
Name=label1
Caption= enter second number
Property of Result label box
Name=label1
Caption= Result
Property of Text box
Name=Text1
Caption=""
Property of Text box
Name=Text2
Caption=""
SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY,
NEW RAIPUR(C.G.)
CSE/4th
/GUI Lab/PreparedbyVivekKumarSinha
Property of Text box
Name=Text3
Caption=""
Property of Addition command button
Name=Command1
Caption= Addition
Property of Subtraction command button
Name=Command2
Caption= Subtraction
Property of Multiply command button
Name=Command3
Caption= Multiply
Property of Division command button
Name=Command4
Caption= Division
Property of Clear command button
Name=Command5
Caption= Clear
Source Code:
SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY,
NEW RAIPUR(C.G.)
CSE/4th
/GUI Lab/PreparedbyVivekKumarSinha
Private Sub cmd_Addition_Click()
Text3.text=(Text1.text+Text2.text)
End Sub
Private Sub cmd_Subtraction_Click()
Text3.text=(Text1.text-Text2.text)
End Sub
Private Sub cmd_Multiply_Click()
Text3.text=(Text1.text*Text2.text)
End Sub
Private Sub cmd_Division_Click()
Text3.text=(Text1.text/Text2.text)
End Sub
Private Sub cmd_Clear_Click()
Unload Me
End Sub
SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY,
NEW RAIPUR(C.G.)
CSE/4th
/GUI Lab/PreparedbyVivekKumarSinha
EXPERIMENT NO-4
Create a form using check box and option box to giveeffect for fonts such as bold, italic,
underline strike through respectively for the text entered in the rich text box.Program to
display message in message box.
Property Setting:
Property of Print command button
Name=Command1
Caption=Print
Source Code:
Private Sub cmd_Print_Click()
Print "Hello"
MsgBox "Welcome To the World of Visual Basic"
End Sub
SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY,
NEW RAIPUR(C.G.)
CSE/4th
/GUI Lab/PreparedbyVivekKumarSinha
EXPERIMENT NO-5
Demonstrate use of Date Environment, add tables and queries, place fields on form,
report etc..Design a program to calculate Factorial.
Property Setting:
Property of enter number label box
Name=label1
Caption= enter number
Property of Text box
Name=Text1
Caption=""
Property of Calculate command button
Name=Command1
Caption= Calculate
Source Code:
Private Sub cmd_Calculate_Click()
Dim n As Integer, f As Double, I As Integer
f = 1
n = Val(Text1.Text)
If n > 170 Then
SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY,
NEW RAIPUR(C.G.)
CSE/4th
/GUI Lab/PreparedbyVivekKumarSinha
MsgBox "Buffer Overflow!"
Text1.Text = ""
Text1.SetFocus
Else
For I = 1 To n
f = f * I
Next I
MsgBox "Factorial of " & n & " is " & f
Text1.Text = ""
Text1.SetFocus
End If
End Sub
SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY,
NEW RAIPUR(C.G.)
CSE/4th
/GUI Lab/PreparedbyVivekKumarSinha
EXPERIMENT NO-6
Design a program to display regional languages of different states in India. Take many
names of status of India in one listbox control and other text box control should display
their languages e. g. Maharashtra _ Marathi etc.
Property Setting:
Property of List box
Name=List1
List= Maharashtra
Chhattisgarh
Punjab
Andhra Pradesh
Kerala
MP
Property of Text box
Name=Text1
Caption=""
Property of Show Language command button
Name=Command1
Caption= Show Language
Source Code:
SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY,
NEW RAIPUR(C.G.)
CSE/4th
/GUI Lab/PreparedbyVivekKumarSinha
Private Sub cmd_Show Language_Click()
If List1.Text = "Maharashtra" Then
Text1.Text = "Marathi"
ElseIf List1.Text = "Chhattisgarh" Then
Text1.Text = "Chhattisgarhi"
ElseIf List1.Text = "Punjab" Then
Text1.Text = "Punjabi"
ElseIf List1.Text = "Andhra Pradesh" Then
Text1.Text = "Telugu"
ElseIf List1.Text = "Kerala" Then
Text1.Text = "Tamil"
ElseIf List1.Text = "MP" Then
Text1.Text = "Hindi"
End If
End Sub
SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY,
NEW RAIPUR(C.G.)
CSE/4th
/GUI Lab/PreparedbyVivekKumarSinha
EXPERIMENT NO-7
Design a program to display regional languages of different states in India. Take many
names of status of India in one list .box control and other text box control should display
their languages e. g. Maharashtra _ Marathi etc.Program for Language selector.
Private Sub Command1_Click()
If List1.Text = "Maharashtra" Then
Text1.Text = "Marathi"
ElseIf List1.Text = "Chhattisgarh" Then
Text1.Text = "Chhattisgarhi"
ElseIf List1.Text = "Punjab" Then
Text1.Text = "Punjabi"
ElseIf List1.Text = "Andhra Pradesh" Then
Text1.Text = "Telugu"
ElseIf List1.Text = "Kerala" Then
Text1.Text = "Tamil"
ElseIf List1.Text = "MP" Then
Text1.Text = "Hindi"
End If
End Sub
SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY,
NEW RAIPUR(C.G.)
CSE/4th
/GUI Lab/PreparedbyVivekKumarSinha
EXPERIMENT NO-8
Create a Simple NotE pad application, which contains Menus, Rich Text Box, Common
Dialog box, formatted text using Toolbar, and Replace text, Windows (Tile / Cascade),
Status bar and scroll bar Program to draw a menu .
Private Sub mnuAddProject_Click()
Print "Another Project Added!"
End Sub
Private Sub mnuCopy_Click()
Print "Content Ready To Paste!"
End Sub
Private Sub mnuCut_Click()
Print "Content Ready To Paste!"
End Sub
Private Sub mnuDelete_Click()
Print "Deleted!"
End Sub
Private Sub mnuExit_Click()
End
End Sub
SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY,
NEW RAIPUR(C.G.)
CSE/4th
/GUI Lab/PreparedbyVivekKumarSinha
Private Sub mnuNewProject_Click()
Print "New Project Added!"
End Sub
Private Sub mnuOpenProject_Click()
Print "Existing Project Opened!"
End Sub
Private Sub mnuPaste_Click()
Print "Content Copied!"
End Sub
Private Sub mnuRedo_Click()
Print "Last Action Repeated!"
End Sub
Private Sub mnuRemoveProject_Click()
Print "Current Project Removed!"
End Sub
Private Sub mnuReset_Click()
Me.Cls
End Sub
SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY,
NEW RAIPUR(C.G.)
CSE/4th
/GUI Lab/PreparedbyVivekKumarSinha
Private Sub mnuSaveProject_Click()
Print "Project Saved!"
End Sub
Private Sub mnuSaveProjectAs_Click()
Print "Project Saved With Different Name!"
End Sub
Private Sub mnuUndo_Click()
Print "Returned to Previous State!"
End Sub
SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY,
NEW RAIPUR(C.G.)
CSE/4th
/GUI Lab/PreparedbyVivekKumarSinha
SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY,
NEW RAIPUR(C.G.)
CSE/4th
/GUI Lab/PreparedbyVivekKumarSinha
SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY,
NEW RAIPUR(C.G.)
CSE/4th
/GUI Lab/PreparedbyVivekKumarSinha

Weitere ähnliche Inhalte

Was ist angesagt?

Lecture 01 introduction to compiler
Lecture 01 introduction to compilerLecture 01 introduction to compiler
Lecture 01 introduction to compilerIffat Anjum
 
Unix.system.calls
Unix.system.callsUnix.system.calls
Unix.system.callsGRajendra
 
10-Software Project Management (Object Oriented Software Engineering - BNU Sp...
10-Software Project Management (Object Oriented Software Engineering - BNU Sp...10-Software Project Management (Object Oriented Software Engineering - BNU Sp...
10-Software Project Management (Object Oriented Software Engineering - BNU Sp...Hafiz Ammar Siddiqui
 
Architecture design in software engineering
Architecture design in software engineeringArchitecture design in software engineering
Architecture design in software engineeringPreeti Mishra
 
Symbol table in compiler Design
Symbol table in compiler DesignSymbol table in compiler Design
Symbol table in compiler DesignKuppusamy P
 
Software engineering a practitioners approach 8th edition pressman solutions ...
Software engineering a practitioners approach 8th edition pressman solutions ...Software engineering a practitioners approach 8th edition pressman solutions ...
Software engineering a practitioners approach 8th edition pressman solutions ...Drusilla918
 
Properties and indexers in C#
Properties and indexers in C#Properties and indexers in C#
Properties and indexers in C#Hemant Chetwani
 
Software process and project metrics
Software process and project metricsSoftware process and project metrics
Software process and project metricsIndu Sharma Bhardwaj
 
Finite automata-for-lexical-analysis
Finite automata-for-lexical-analysisFinite automata-for-lexical-analysis
Finite automata-for-lexical-analysisDattatray Gandhmal
 
358 33 powerpoint-slides_1-introduction-c_chapter-1
358 33 powerpoint-slides_1-introduction-c_chapter-1358 33 powerpoint-slides_1-introduction-c_chapter-1
358 33 powerpoint-slides_1-introduction-c_chapter-1sumitbardhan
 
OPERATING SYSTEMS DESIGN AND IMPLEMENTATION
OPERATING SYSTEMSDESIGN AND IMPLEMENTATIONOPERATING SYSTEMSDESIGN AND IMPLEMENTATION
OPERATING SYSTEMS DESIGN AND IMPLEMENTATION sathish sak
 
7 Phases of Software Development Life Cycle
7 Phases of Software Development Life Cycle 7 Phases of Software Development Life Cycle
7 Phases of Software Development Life Cycle Simform
 

Was ist angesagt? (20)

Lecture 01 introduction to compiler
Lecture 01 introduction to compilerLecture 01 introduction to compiler
Lecture 01 introduction to compiler
 
Unix.system.calls
Unix.system.callsUnix.system.calls
Unix.system.calls
 
10-Software Project Management (Object Oriented Software Engineering - BNU Sp...
10-Software Project Management (Object Oriented Software Engineering - BNU Sp...10-Software Project Management (Object Oriented Software Engineering - BNU Sp...
10-Software Project Management (Object Oriented Software Engineering - BNU Sp...
 
System call
System callSystem call
System call
 
Architecture design in software engineering
Architecture design in software engineeringArchitecture design in software engineering
Architecture design in software engineering
 
Operating System lab
Operating System labOperating System lab
Operating System lab
 
System calls
System callsSystem calls
System calls
 
Symbol table in compiler Design
Symbol table in compiler DesignSymbol table in compiler Design
Symbol table in compiler Design
 
Software engineering a practitioners approach 8th edition pressman solutions ...
Software engineering a practitioners approach 8th edition pressman solutions ...Software engineering a practitioners approach 8th edition pressman solutions ...
Software engineering a practitioners approach 8th edition pressman solutions ...
 
Properties and indexers in C#
Properties and indexers in C#Properties and indexers in C#
Properties and indexers in C#
 
Software Engineering Practice
Software Engineering PracticeSoftware Engineering Practice
Software Engineering Practice
 
Software process and project metrics
Software process and project metricsSoftware process and project metrics
Software process and project metrics
 
Kernels and its types
Kernels and its typesKernels and its types
Kernels and its types
 
Unit 2
Unit 2Unit 2
Unit 2
 
Finite automata-for-lexical-analysis
Finite automata-for-lexical-analysisFinite automata-for-lexical-analysis
Finite automata-for-lexical-analysis
 
Unit 4 sp macro
Unit 4 sp macroUnit 4 sp macro
Unit 4 sp macro
 
358 33 powerpoint-slides_1-introduction-c_chapter-1
358 33 powerpoint-slides_1-introduction-c_chapter-1358 33 powerpoint-slides_1-introduction-c_chapter-1
358 33 powerpoint-slides_1-introduction-c_chapter-1
 
OPERATING SYSTEMS DESIGN AND IMPLEMENTATION
OPERATING SYSTEMSDESIGN AND IMPLEMENTATIONOPERATING SYSTEMSDESIGN AND IMPLEMENTATION
OPERATING SYSTEMS DESIGN AND IMPLEMENTATION
 
7 Phases of Software Development Life Cycle
7 Phases of Software Development Life Cycle 7 Phases of Software Development Life Cycle
7 Phases of Software Development Life Cycle
 
Java Notes
Java NotesJava Notes
Java Notes
 

Andere mochten auch

Andere mochten auch (18)

Network security Lab manual
Network security Lab manual Network security Lab manual
Network security Lab manual
 
Main ds manual
Main ds manualMain ds manual
Main ds manual
 
Unit Testing on Android - Droidcon Berlin 2015
Unit Testing on Android - Droidcon Berlin 2015Unit Testing on Android - Droidcon Berlin 2015
Unit Testing on Android - Droidcon Berlin 2015
 
Computer applications in civil engineering lab
Computer applications in civil engineering labComputer applications in civil engineering lab
Computer applications in civil engineering lab
 
Lab manual asp.net
Lab manual asp.netLab manual asp.net
Lab manual asp.net
 
Company Profile - Compressed
Company Profile - CompressedCompany Profile - Compressed
Company Profile - Compressed
 
Mech nacp lab
Mech nacp labMech nacp lab
Mech nacp lab
 
Teks ekposisi
Teks ekposisiTeks ekposisi
Teks ekposisi
 
Cn lab manual
Cn lab manualCn lab manual
Cn lab manual
 
Oops lab manual
Oops lab manualOops lab manual
Oops lab manual
 
Java final lab
Java final labJava final lab
Java final lab
 
Softwareenggineering lab manual
Softwareenggineering lab manualSoftwareenggineering lab manual
Softwareenggineering lab manual
 
Computer hardware and simulation lab manual
Computer  hardware and simulation lab manualComputer  hardware and simulation lab manual
Computer hardware and simulation lab manual
 
Eurest Breakfast White Paper
Eurest Breakfast White PaperEurest Breakfast White Paper
Eurest Breakfast White Paper
 
WebRTC on Mobile
WebRTC on MobileWebRTC on Mobile
WebRTC on Mobile
 
Graphics practical lab manual
Graphics practical lab manualGraphics practical lab manual
Graphics practical lab manual
 
COMPUTER GRAPHICS LAB MANUAL
COMPUTER GRAPHICS LAB MANUALCOMPUTER GRAPHICS LAB MANUAL
COMPUTER GRAPHICS LAB MANUAL
 
Search engines
Search enginesSearch engines
Search engines
 

Ähnlich wie Graphics User Interface Lab Manual

Sql Patterns
Sql PatternsSql Patterns
Sql Patternsphanleson
 
4CS4-25-Java-Lab-Manual.pdf
4CS4-25-Java-Lab-Manual.pdf4CS4-25-Java-Lab-Manual.pdf
4CS4-25-Java-Lab-Manual.pdfamitbhachne
 
Criminal Record System
Criminal Record SystemCriminal Record System
Criminal Record SystemCool Guy
 
System programmin practical file
System programmin practical fileSystem programmin practical file
System programmin practical fileAnkit Dixit
 
Functional Programming You Already Know
Functional Programming You Already KnowFunctional Programming You Already Know
Functional Programming You Already KnowKevlin Henney
 
Structures and Pointers
Structures and PointersStructures and Pointers
Structures and PointersPrabu U
 
Preprocessor directives
Preprocessor directivesPreprocessor directives
Preprocessor directivesVikash Dhal
 
Python Programming - II. The Basics
Python Programming - II. The BasicsPython Programming - II. The Basics
Python Programming - II. The BasicsRanel Padon
 
r,rstats,r language,r packages
r,rstats,r language,r packagesr,rstats,r language,r packages
r,rstats,r language,r packagesAjay Ohri
 
Program 1 (Practicing an example of function using call by referenc.pdf
Program 1 (Practicing an example of function using call by referenc.pdfProgram 1 (Practicing an example of function using call by referenc.pdf
Program 1 (Practicing an example of function using call by referenc.pdfezhilvizhiyan
 
C language by Dr. Gholkar D. R.
C language by Dr. Gholkar D. R.C language by Dr. Gholkar D. R.
C language by Dr. Gholkar D. R.drgholkar
 
15 tips to improve your unit tests (Droidcon Berlin 2016 Barcamp)
15 tips to improve your unit tests (Droidcon Berlin 2016 Barcamp)15 tips to improve your unit tests (Droidcon Berlin 2016 Barcamp)
15 tips to improve your unit tests (Droidcon Berlin 2016 Barcamp)Danny Preussler
 
A brief introduction to PostgreSQL
A brief introduction to PostgreSQLA brief introduction to PostgreSQL
A brief introduction to PostgreSQLVu Hung Nguyen
 
FireWatir - Web Application Testing Using Ruby and Firefox
FireWatir - Web Application Testing Using Ruby and FirefoxFireWatir - Web Application Testing Using Ruby and Firefox
FireWatir - Web Application Testing Using Ruby and Firefoxangrez
 

Ähnlich wie Graphics User Interface Lab Manual (20)

Unix lab
Unix labUnix lab
Unix lab
 
Sql Patterns
Sql PatternsSql Patterns
Sql Patterns
 
4CS4-25-Java-Lab-Manual.pdf
4CS4-25-Java-Lab-Manual.pdf4CS4-25-Java-Lab-Manual.pdf
4CS4-25-Java-Lab-Manual.pdf
 
Pslb lab manual
Pslb lab manualPslb lab manual
Pslb lab manual
 
Criminal Record System
Criminal Record SystemCriminal Record System
Criminal Record System
 
System programmin practical file
System programmin practical fileSystem programmin practical file
System programmin practical file
 
Functional Programming You Already Know
Functional Programming You Already KnowFunctional Programming You Already Know
Functional Programming You Already Know
 
Structures and Pointers
Structures and PointersStructures and Pointers
Structures and Pointers
 
Easy R
Easy REasy R
Easy R
 
Preprocessor directives
Preprocessor directivesPreprocessor directives
Preprocessor directives
 
Python Programming - II. The Basics
Python Programming - II. The BasicsPython Programming - II. The Basics
Python Programming - II. The Basics
 
r,rstats,r language,r packages
r,rstats,r language,r packagesr,rstats,r language,r packages
r,rstats,r language,r packages
 
Program 1 (Practicing an example of function using call by referenc.pdf
Program 1 (Practicing an example of function using call by referenc.pdfProgram 1 (Practicing an example of function using call by referenc.pdf
Program 1 (Practicing an example of function using call by referenc.pdf
 
C language by Dr. Gholkar D. R.
C language by Dr. Gholkar D. R.C language by Dr. Gholkar D. R.
C language by Dr. Gholkar D. R.
 
15 tips to improve your unit tests (Droidcon Berlin 2016 Barcamp)
15 tips to improve your unit tests (Droidcon Berlin 2016 Barcamp)15 tips to improve your unit tests (Droidcon Berlin 2016 Barcamp)
15 tips to improve your unit tests (Droidcon Berlin 2016 Barcamp)
 
Python Programming
Python ProgrammingPython Programming
Python Programming
 
Savitch Ch 04
Savitch Ch 04Savitch Ch 04
Savitch Ch 04
 
Savitch Ch 04
Savitch Ch 04Savitch Ch 04
Savitch Ch 04
 
A brief introduction to PostgreSQL
A brief introduction to PostgreSQLA brief introduction to PostgreSQL
A brief introduction to PostgreSQL
 
FireWatir - Web Application Testing Using Ruby and Firefox
FireWatir - Web Application Testing Using Ruby and FirefoxFireWatir - Web Application Testing Using Ruby and Firefox
FireWatir - Web Application Testing Using Ruby and Firefox
 

Mehr von Vivek Kumar Sinha (20)

Software engg unit 4
Software engg unit 4 Software engg unit 4
Software engg unit 4
 
Software engg unit 3
Software engg unit 3 Software engg unit 3
Software engg unit 3
 
Software engg unit 2
Software engg unit 2 Software engg unit 2
Software engg unit 2
 
Software engg unit 1
Software engg unit 1 Software engg unit 1
Software engg unit 1
 
Data structure
Data structureData structure
Data structure
 
Mathematics basics
Mathematics basicsMathematics basics
Mathematics basics
 
E commerce 5_units_notes
E commerce 5_units_notesE commerce 5_units_notes
E commerce 5_units_notes
 
B.ped
B.pedB.ped
B.ped
 
Subject distribution
Subject distributionSubject distribution
Subject distribution
 
Revision report final
Revision report finalRevision report final
Revision report final
 
Lession plan mis
Lession plan misLession plan mis
Lession plan mis
 
Lession plan dmw
Lession plan dmwLession plan dmw
Lession plan dmw
 
Faculty planning
Faculty planningFaculty planning
Faculty planning
 
Final presentation on computer network
Final presentation on computer networkFinal presentation on computer network
Final presentation on computer network
 
Np syllabus summary
Np syllabus summaryNp syllabus summary
Np syllabus summary
 
Internet of things
Internet of thingsInternet of things
Internet of things
 
Induction program 2017
Induction program 2017Induction program 2017
Induction program 2017
 
Vivek
VivekVivek
Vivek
 
E magzine et&t
E magzine et&tE magzine et&t
E magzine et&t
 
Mechanical engineering department (1)
Mechanical engineering department (1)Mechanical engineering department (1)
Mechanical engineering department (1)
 

Kürzlich hochgeladen

Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 

Kürzlich hochgeladen (20)

Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 

Graphics User Interface Lab Manual

  • 1. SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY, NEW RAIPUR(C.G.) CSE/4th /GUI Lab/PreparedbyVivekKumarSinha GUI PROGRAMMING LAB
  • 2. SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY, NEW RAIPUR(C.G.) CSE/4th /GUI Lab/PreparedbyVivekKumarSinha EXPERIMENT NO-1 Design & identify card containing information regarding students such as Name,Roll No.,Address,Class Studying,Date Of Birth,Blood Group,Phone No.,etc .Add a Exit Button. Property Setting: Property of Name label box Name=label1 Caption=Name Property of Roll No label box Name=label2 Caption= Roll No Property of Address label box Name=label3 Caption= Address Property of Class label box Name=label4 Caption= Class
  • 3. SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY, NEW RAIPUR(C.G.) CSE/4th /GUI Lab/PreparedbyVivekKumarSinha Property of Date Of Birth label box Name=label5 Caption= Date Of Birth Property of Blood Group label box Name=label6 Caption= Blood Group Property of Phone No label box Name=label7 Caption= Phone No Property of Text box Name=Text1 Caption="" Property of Text box Name=Text2 Caption="" Property of Text box Name=Text3 Caption=""
  • 4. SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY, NEW RAIPUR(C.G.) CSE/4th /GUI Lab/PreparedbyVivekKumarSinha Property of Text box Name=Text4 Caption="" Property of Text box Name=Text5 Caption="" Property of Text box Name=Text6 Caption="" Property of Text box Name=Text7 Caption="" Property of Exit command button Name=Command1 Caption=Exit Source Code: Private Sub cmd_Exit_Click()
  • 5. SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY, NEW RAIPUR(C.G.) CSE/4th /GUI Lab/PreparedbyVivekKumarSinha Unload Me End Sub
  • 6. SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY, NEW RAIPUR(C.G.) CSE/4th /GUI Lab/PreparedbyVivekKumarSinha EXPERIMENT NO-2 Develop an application to calculate Interest. It should accept rate of interest, period for calculation of interest (years), amount on which interest is to be calculated (Rs.). After clicking Compute Investment amount (Principal + Interest) should be displayed in separate text box. Add Exit button, Proper text box controls and labels to be used. Provide 2 options- Simple, Compound interest. Provide Picture and Radio Button control. Property Setting: Property of Principal label box Name=label1 Caption= Principal Property of Rate label box Name=label1 Caption= Rate Property of Time label box Name=label1 Caption= Time Property of Result label box Name=label1 Caption= Result Property of Text box
  • 7. SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY, NEW RAIPUR(C.G.) CSE/4th /GUI Lab/PreparedbyVivekKumarSinha Name=Text1 Caption="" Property of Text box Name=Text2 Caption="" Property of Text box Name=Text3 Caption="" Property of Text box Name=Text4 Caption="" Property of SI command button Name=Command1 Caption=SI Property of CI command button Name=Command2 Caption=CI Property of clear command button
  • 8. SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY, NEW RAIPUR(C.G.) CSE/4th /GUI Lab/PreparedbyVivekKumarSinha Name=Command3 Caption=clear Property of Exit command button Name=Command4 Caption=Exit Source Code: Private Sub cmd_SI_Click() Text4.text=((Text1.text*Text2.text*Text3.text)/100) End Sub Private Sub cmd_CI_Click() Text4.text=(Text1.text*(1+(Text2.text/100))^Text3.text) End Sub Private Sub cmd_Clear_Click() Text1.text=”” Text2.text=”” Text3.text=”” Text4.text=”” End Sub
  • 9. SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY, NEW RAIPUR(C.G.) CSE/4th /GUI Lab/PreparedbyVivekKumarSinha Private Sub cmd_Exit_Click() Unload Me End Sub
  • 10. SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY, NEW RAIPUR(C.G.) CSE/4th /GUI Lab/PreparedbyVivekKumarSinha EXPERIMENT NO-3 Design a Simple Calculator to implement addition, subtraction, multiplication, division, remainder operations. Property Setting: Property of enter first number label box Name=label1 Caption= enter first number Property of enter second number label box Name=label1 Caption= enter second number Property of Result label box Name=label1 Caption= Result Property of Text box Name=Text1 Caption="" Property of Text box Name=Text2 Caption=""
  • 11. SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY, NEW RAIPUR(C.G.) CSE/4th /GUI Lab/PreparedbyVivekKumarSinha Property of Text box Name=Text3 Caption="" Property of Addition command button Name=Command1 Caption= Addition Property of Subtraction command button Name=Command2 Caption= Subtraction Property of Multiply command button Name=Command3 Caption= Multiply Property of Division command button Name=Command4 Caption= Division Property of Clear command button Name=Command5 Caption= Clear Source Code:
  • 12. SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY, NEW RAIPUR(C.G.) CSE/4th /GUI Lab/PreparedbyVivekKumarSinha Private Sub cmd_Addition_Click() Text3.text=(Text1.text+Text2.text) End Sub Private Sub cmd_Subtraction_Click() Text3.text=(Text1.text-Text2.text) End Sub Private Sub cmd_Multiply_Click() Text3.text=(Text1.text*Text2.text) End Sub Private Sub cmd_Division_Click() Text3.text=(Text1.text/Text2.text) End Sub Private Sub cmd_Clear_Click() Unload Me End Sub
  • 13. SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY, NEW RAIPUR(C.G.) CSE/4th /GUI Lab/PreparedbyVivekKumarSinha EXPERIMENT NO-4 Create a form using check box and option box to giveeffect for fonts such as bold, italic, underline strike through respectively for the text entered in the rich text box.Program to display message in message box. Property Setting: Property of Print command button Name=Command1 Caption=Print Source Code: Private Sub cmd_Print_Click() Print "Hello" MsgBox "Welcome To the World of Visual Basic" End Sub
  • 14. SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY, NEW RAIPUR(C.G.) CSE/4th /GUI Lab/PreparedbyVivekKumarSinha EXPERIMENT NO-5 Demonstrate use of Date Environment, add tables and queries, place fields on form, report etc..Design a program to calculate Factorial. Property Setting: Property of enter number label box Name=label1 Caption= enter number Property of Text box Name=Text1 Caption="" Property of Calculate command button Name=Command1 Caption= Calculate Source Code: Private Sub cmd_Calculate_Click() Dim n As Integer, f As Double, I As Integer f = 1 n = Val(Text1.Text) If n > 170 Then
  • 15. SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY, NEW RAIPUR(C.G.) CSE/4th /GUI Lab/PreparedbyVivekKumarSinha MsgBox "Buffer Overflow!" Text1.Text = "" Text1.SetFocus Else For I = 1 To n f = f * I Next I MsgBox "Factorial of " & n & " is " & f Text1.Text = "" Text1.SetFocus End If End Sub
  • 16. SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY, NEW RAIPUR(C.G.) CSE/4th /GUI Lab/PreparedbyVivekKumarSinha EXPERIMENT NO-6 Design a program to display regional languages of different states in India. Take many names of status of India in one listbox control and other text box control should display their languages e. g. Maharashtra _ Marathi etc. Property Setting: Property of List box Name=List1 List= Maharashtra Chhattisgarh Punjab Andhra Pradesh Kerala MP Property of Text box Name=Text1 Caption="" Property of Show Language command button Name=Command1 Caption= Show Language Source Code:
  • 17. SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY, NEW RAIPUR(C.G.) CSE/4th /GUI Lab/PreparedbyVivekKumarSinha Private Sub cmd_Show Language_Click() If List1.Text = "Maharashtra" Then Text1.Text = "Marathi" ElseIf List1.Text = "Chhattisgarh" Then Text1.Text = "Chhattisgarhi" ElseIf List1.Text = "Punjab" Then Text1.Text = "Punjabi" ElseIf List1.Text = "Andhra Pradesh" Then Text1.Text = "Telugu" ElseIf List1.Text = "Kerala" Then Text1.Text = "Tamil" ElseIf List1.Text = "MP" Then Text1.Text = "Hindi" End If End Sub
  • 18. SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY, NEW RAIPUR(C.G.) CSE/4th /GUI Lab/PreparedbyVivekKumarSinha EXPERIMENT NO-7 Design a program to display regional languages of different states in India. Take many names of status of India in one list .box control and other text box control should display their languages e. g. Maharashtra _ Marathi etc.Program for Language selector. Private Sub Command1_Click() If List1.Text = "Maharashtra" Then Text1.Text = "Marathi" ElseIf List1.Text = "Chhattisgarh" Then Text1.Text = "Chhattisgarhi" ElseIf List1.Text = "Punjab" Then Text1.Text = "Punjabi" ElseIf List1.Text = "Andhra Pradesh" Then Text1.Text = "Telugu" ElseIf List1.Text = "Kerala" Then Text1.Text = "Tamil" ElseIf List1.Text = "MP" Then Text1.Text = "Hindi" End If End Sub
  • 19. SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY, NEW RAIPUR(C.G.) CSE/4th /GUI Lab/PreparedbyVivekKumarSinha EXPERIMENT NO-8 Create a Simple NotE pad application, which contains Menus, Rich Text Box, Common Dialog box, formatted text using Toolbar, and Replace text, Windows (Tile / Cascade), Status bar and scroll bar Program to draw a menu . Private Sub mnuAddProject_Click() Print "Another Project Added!" End Sub Private Sub mnuCopy_Click() Print "Content Ready To Paste!" End Sub Private Sub mnuCut_Click() Print "Content Ready To Paste!" End Sub Private Sub mnuDelete_Click() Print "Deleted!" End Sub Private Sub mnuExit_Click() End End Sub
  • 20. SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY, NEW RAIPUR(C.G.) CSE/4th /GUI Lab/PreparedbyVivekKumarSinha Private Sub mnuNewProject_Click() Print "New Project Added!" End Sub Private Sub mnuOpenProject_Click() Print "Existing Project Opened!" End Sub Private Sub mnuPaste_Click() Print "Content Copied!" End Sub Private Sub mnuRedo_Click() Print "Last Action Repeated!" End Sub Private Sub mnuRemoveProject_Click() Print "Current Project Removed!" End Sub Private Sub mnuReset_Click() Me.Cls End Sub
  • 21. SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY, NEW RAIPUR(C.G.) CSE/4th /GUI Lab/PreparedbyVivekKumarSinha Private Sub mnuSaveProject_Click() Print "Project Saved!" End Sub Private Sub mnuSaveProjectAs_Click() Print "Project Saved With Different Name!" End Sub Private Sub mnuUndo_Click() Print "Returned to Previous State!" End Sub
  • 22. SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY, NEW RAIPUR(C.G.) CSE/4th /GUI Lab/PreparedbyVivekKumarSinha
  • 23. SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY, NEW RAIPUR(C.G.) CSE/4th /GUI Lab/PreparedbyVivekKumarSinha
  • 24. SHRI RAWATPURASARKAR INSTITUTE OFTECHNOLOGY, NEW RAIPUR(C.G.) CSE/4th /GUI Lab/PreparedbyVivekKumarSinha