Adblock breaks this site

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

Discussion in 'Programming General' started by Uber Panda, Nov 1, 2007.

  1. Uber Panda

    Uber Panda Member

    Joined:
    Oct 30, 2007
    Posts:
    67
    Referrals:
    0
    Sythe Gold:
    0
    [Tutorial] Basic DVD Player for n00blets [/Tutorial]

    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
     
  2. nathan145

    nathan145 Member
    Banned

    Joined:
    Apr 28, 2007
    Posts:
    87
    Referrals:
    0
    Sythe Gold:
    0
    [Tutorial] Basic DVD Player for n00blets [/Tutorial]

    Thanks Great Tutorial :D
     
  3. Rs2Cheater.net

    Rs2Cheater.net Member

    Joined:
    Jul 30, 2007
    Posts:
    65
    Referrals:
    0
    Sythe Gold:
    0
    [Tutorial] Basic DVD Player for n00blets [/Tutorial]

    Good idea for the error, but i bet you will get loads of people complaining that the script is faulty. Noobs are like that.
     
  4. halojunkie

    halojunkie Active Member

    Joined:
    Dec 17, 2005
    Posts:
    232
    Referrals:
    0
    Sythe Gold:
    0
    [Tutorial] Basic DVD Player for n00blets [/Tutorial]

    I found the error. I like that idea. I may have to do that when I do tutorials.
     
  5. Uber Panda

    Uber Panda Member

    Joined:
    Oct 30, 2007
    Posts:
    67
    Referrals:
    0
    Sythe Gold:
    0
    [Tutorial] Basic DVD Player for n00blets [/Tutorial]

    Bump ;)
    Actually, I thought it would be nice if people saw this guide and learned from it.
     
  6. Jazz00006

    Jazz00006 Apprentice
    Visual Basic Programmers

    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0
    [Tutorial] Basic DVD Player for n00blets [/Tutorial]

    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...
     
  7. Nullware

    Nullware Guru

    Joined:
    Jan 30, 2007
    Posts:
    1,761
    Referrals:
    4
    Sythe Gold:
    0
    [Tutorial] Basic DVD Player for n00blets [/Tutorial]

    ^ Agreed. This tutorial is terrible and useless.
     
< Force mouse click? | Inheritance problem >


 
 
Adblock breaks this site