Uber Panda
Member
- Joined
- Oct 30, 2007
- Sythe Gold
- 0
- Messages
- 67
Hi guys, please bear with me, as this is my first tutorial in VB6.
How to make a DVD Player! First of all, make sure you have the MSWEBDVD Type 1.0 Library.
Now, make sure you make at LEAST 3 command buttons, 'cPlay', 'cPause' and 'cStop'. If you want to add more, just PM me.
Add the MSWEBDVD component. You will see 2 buttons, but we'll only be using MSWEBDVD.
Resize it to your liking, then right click anywhere free on the form, and click 'View Code'. This is the heart of your program!
Add this
And last but not least;
I put a simple error so I know n00bs will learn
How to make a DVD Player! First of all, make sure you have the MSWEBDVD Type 1.0 Library.
Now, make sure you make at LEAST 3 command buttons, 'cPlay', 'cPause' and 'cStop'. If you want to add more, just PM me.
Add the MSWEBDVD component. You will see 2 buttons, but we'll only be using MSWEBDVD.
Resize it to your liking, then right click anywhere free on the form, and click 'View Code'. This is the heart of your program!
Add this
Code:
Private Sub cPlay_Click()
form1.MSWebDVD1.Play
End Sub 'This code tells your program to play the DVD
Code:
Private Sub cPause_Click()
form1.MSWebDVD1.Pause
End Sub 'This code tells your program to pause the DVD
And last but not least;
Code:
Private Sub cmdStop_Click()
form1.MSWebDVD1.Stop
End Sub 'This tells your program to stop playing the DVD
I put a simple error so I know n00bs will learn



