Menu pop up menu mdi form and playing audio in vb

1,668 views

Published on

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,668
On SlideShare
0
From Embeds
0
Number of Embeds
140
Actions
Shares
0
Downloads
13
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Menu pop up menu mdi form and playing audio in vb

  1. 1. PRESENTATION ON VISUAL BASICHow to use Menus, Popup Menus, MDI form and Playing Audio in Visual Basic?
  2. 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. 3. Application 1- GameDesign Includes-•Picture Box•Label(4)•Text Box(2)•Button
  4. 4. Application 1- Game Select Case expression Case value1Coding 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
  5. 5. Application 1- Game
  6. 6. Application 2- Media PlayerDesign Includes-•Text Box•Command Button
  7. 7. Application 2- Media PlayerCoding Includes-•Media Player Private Sub Command1_Click() WindowsMediaPlayer1.URL = Text1.Text End Sub
  8. 8. Application 2- Media Player
  9. 9. Application 3- MDI and Popup MenuDesign Includes-•Picture Box•MDI Form•Popup Menu
  10. 10. Application 3- MDI and Popup MenuCoding Includes-•Popup Menu If Button = 2 Then Call Me.PopupMenu(mnupopup) End If
  11. 11. Application 3- MDI and Popup Menu

×