SlideShare une entreprise Scribd logo
1  sur  12
PRESENTATION ON VISUAL BASIC
How to use Menus, Popup Menus, MDI form and Playing Audio in Visual Basic?
Contents Covered
 Application 1 - Snake & Ladder Game
   Covered (Menu)
 Application 2 - Media Player
   Covered ( Playing Audio in VB)
 Application 3 – Connecting Both Applications
   Covered (MDI Menu & Popup Menu)
Application 1- Game
Design Includes-
•Picture Box
•Label(4)
•Text Box(2)
•Button
Application 1- Game   Select Case expression
                       Case value1
Coding Includes-          Block of one or more VB statements
                       CaseRandomize Timer
                             value2
•Roll Dice                Block of one or* 5) + VB Statements
                          a = CInt(Rnd more 1
                       Case value3
                           lbldice.Caption = a
•Switch Case            Case Else
                          Block of one or more VB Statements
•If Else              End Select
                             If ConditionThen
•Function Calling                     .
                                    Else
                                      .
                                   End If
                    Function Defining:
                    Private Sub Function_name()
                    .
                    .
                    End Sub
                    Function Calling:
                    Call function_name
Application 1- Game
Application 2- Media Player
Design Includes-
•Text Box
•Command Button
Application 2- Media Player
Coding Includes-
•Media Player




                   Private Sub Command1_Click()
                   WindowsMediaPlayer1.URL = Text1.Text
                   End Sub
Application 2- Media Player
Application 3- MDI and Popup Menu
Design Includes-
•Picture Box
•MDI Form
•Popup Menu
Application 3- MDI and Popup Menu
Coding Includes-
•Popup Menu          If Button = 2 Then
                     Call Me.PopupMenu(mnupopup)
                     End If
Application 3- MDI and Popup Menu
Menu pop up menu mdi form and playing audio in vb

Contenu connexe

En vedette (10)

Microsoft paint (done)
Microsoft paint (done)Microsoft paint (done)
Microsoft paint (done)
 
Objects and classes in Visual Basic
Objects and classes in Visual BasicObjects and classes in Visual Basic
Objects and classes in Visual Basic
 
Elisa
ElisaElisa
Elisa
 
Ms paint tutorial
Ms paint tutorialMs paint tutorial
Ms paint tutorial
 
Microsoft Paint Powerpoint
Microsoft Paint PowerpointMicrosoft Paint Powerpoint
Microsoft Paint Powerpoint
 
Transportation management system
Transportation management systemTransportation management system
Transportation management system
 
Ms Paint Tutorial
Ms Paint TutorialMs Paint Tutorial
Ms Paint Tutorial
 
Microsoft Paint
Microsoft PaintMicrosoft Paint
Microsoft Paint
 
Visual Basic 6.0
Visual Basic 6.0Visual Basic 6.0
Visual Basic 6.0
 
Visual basic ppt for tutorials computer
Visual basic ppt for tutorials computerVisual basic ppt for tutorials computer
Visual basic ppt for tutorials computer
 

Similaire à Menu pop up menu mdi form and playing audio in vb (6)

Functions2.pdf
Functions2.pdfFunctions2.pdf
Functions2.pdf
 
Functions in python
Functions in pythonFunctions in python
Functions in python
 
Class and object
Class and objectClass and object
Class and object
 
Vb 6ch123
Vb 6ch123Vb 6ch123
Vb 6ch123
 
Ravi Prakash Yadav , BCA Third Year
Ravi Prakash Yadav , BCA Third YearRavi Prakash Yadav , BCA Third Year
Ravi Prakash Yadav , BCA Third Year
 
Dynamic Binding in C# 4.0
Dynamic Binding in C# 4.0Dynamic Binding in C# 4.0
Dynamic Binding in C# 4.0
 

Plus de Amandeep Kaur

Video/ Graphics cards
Video/ Graphics  cardsVideo/ Graphics  cards
Video/ Graphics cards
Amandeep Kaur
 
Image contro, and format functions in vb
Image contro, and format functions in vbImage contro, and format functions in vb
Image contro, and format functions in vb
Amandeep Kaur
 
Data base connectivity and flex grid in vb
Data base connectivity and flex grid in vbData base connectivity and flex grid in vb
Data base connectivity and flex grid in vb
Amandeep Kaur
 
Toolbar, statusbar, coolbar in vb
Toolbar, statusbar, coolbar in vbToolbar, statusbar, coolbar in vb
Toolbar, statusbar, coolbar in vb
Amandeep Kaur
 
Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphics
Amandeep Kaur
 
Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphics
Amandeep Kaur
 
Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphics
Amandeep Kaur
 
Report on browser war
Report on browser warReport on browser war
Report on browser war
Amandeep Kaur
 
Report of internet connections
Report of internet connectionsReport of internet connections
Report of internet connections
Amandeep Kaur
 

Plus de Amandeep Kaur (20)

Video/ Graphics cards
Video/ Graphics  cardsVideo/ Graphics  cards
Video/ Graphics cards
 
Menu vb
Menu vbMenu vb
Menu vb
 
Active x control
Active x controlActive x control
Active x control
 
Image contro, and format functions in vb
Image contro, and format functions in vbImage contro, and format functions in vb
Image contro, and format functions in vb
 
Data base connectivity and flex grid in vb
Data base connectivity and flex grid in vbData base connectivity and flex grid in vb
Data base connectivity and flex grid in vb
 
Toolbar, statusbar, coolbar in vb
Toolbar, statusbar, coolbar in vbToolbar, statusbar, coolbar in vb
Toolbar, statusbar, coolbar in vb
 
Richtextbox
RichtextboxRichtextbox
Richtextbox
 
Treeview listview
Treeview listviewTreeview listview
Treeview listview
 
Progress bar
Progress barProgress bar
Progress bar
 
Filehandling
FilehandlingFilehandling
Filehandling
 
Socket
SocketSocket
Socket
 
Ppt of socket
Ppt of socketPpt of socket
Ppt of socket
 
Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphics
 
Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphics
 
Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphics
 
Internet
InternetInternet
Internet
 
Internet working
Internet workingInternet working
Internet working
 
Report on browser war
Report on browser warReport on browser war
Report on browser war
 
Report of internet connections
Report of internet connectionsReport of internet connections
Report of internet connections
 
Report on intranet
Report on intranetReport on intranet
Report on intranet
 

Dernier

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 

Dernier (20)

psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 

Menu pop up menu mdi form and playing audio in vb

  • 1. PRESENTATION ON VISUAL BASIC How to use Menus, Popup Menus, MDI form and Playing Audio in Visual Basic?
  • 2. Contents Covered  Application 1 - Snake & Ladder Game  Covered (Menu)  Application 2 - Media Player  Covered ( Playing Audio in VB)  Application 3 – Connecting Both Applications  Covered (MDI Menu & Popup Menu)
  • 3. Application 1- Game Design Includes- •Picture Box •Label(4) •Text Box(2) •Button
  • 4. Application 1- Game Select Case expression Case value1 Coding Includes- Block of one or more VB statements CaseRandomize Timer value2 •Roll Dice Block of one or* 5) + VB Statements a = CInt(Rnd more 1 Case value3 lbldice.Caption = a •Switch Case Case Else Block of one or more VB Statements •If Else End Select If ConditionThen •Function Calling . Else . End If Function Defining: Private Sub Function_name() . . End Sub Function Calling: Call function_name
  • 6. Application 2- Media Player Design Includes- •Text Box •Command Button
  • 7. Application 2- Media Player Coding Includes- •Media Player Private Sub Command1_Click() WindowsMediaPlayer1.URL = Text1.Text End Sub
  • 9. Application 3- MDI and Popup Menu Design Includes- •Picture Box •MDI Form •Popup Menu
  • 10. Application 3- MDI and Popup Menu Coding Includes- •Popup Menu If Button = 2 Then Call Me.PopupMenu(mnupopup) End If
  • 11. Application 3- MDI and Popup Menu