SlideShare a Scribd company logo
1 of 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

More Related Content

Viewers also liked (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
 

Similar to 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
 

More from 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
 

More from 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
 

Recently uploaded

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Recently uploaded (20)

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
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...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
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
 
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.
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 

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