• Log in or sign up for an account here: https://www.sythe.org/login

[Tutorial] Basic DVD Player for n00blets [/Tutorial]

Uber Panda

Member
Joined
Oct 30, 2007
Sythe Gold
0
Messages
67
Location
Yeah, where do ya live? OH! Are you talking about me?
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
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
 
Thanks Great Tutorial :D
 
Good idea for the error, but i bet you will get loads of people complaining that the script is faulty. Noobs are like that.
 
I found the error. I like that idea. I may have to do that when I do tutorials.
 
Actually I thought it would be good if people didn't see this.


....Damn sythe mods are slack fuckers when it comes to the programing sections...
 
^ Agreed. This tutorial is terrible and useless.
 
Runescape Gamblingrunescape gambling
Back
Top