Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. DVD playback. HELP Please ! ! !

DVD playback. HELP Please ! ! !

Scheduled Pinned Locked Moved Visual Basic
csharpgraphicsgame-devhelp
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    portreathbeach
    wrote on last edited by
    #1

    I am writing a front-end for a car PC project. I have managed to code an FM Tuner and an MP3 player by using windows messages and Winamp. My next part of the project is a DVD player. At first I thought that this would be quite easy, use WMP. So I tried and got a few of the functions working, but it keeps crashing and rebooting the computer at random times. I have read a lot about using it and everyone says that DirectX is the way to go, (well DirectShow anyway). Please could someone give me a sample piece of code for VB.net as I have searched for hours and can't find anything. Thanks in advance for any replys ;)

    C 1 Reply Last reply
    0
    • P portreathbeach

      I am writing a front-end for a car PC project. I have managed to code an FM Tuner and an MP3 player by using windows messages and Winamp. My next part of the project is a DVD player. At first I thought that this would be quite easy, use WMP. So I tried and got a few of the functions working, but it keeps crashing and rebooting the computer at random times. I have read a lot about using it and everyone says that DirectX is the way to go, (well DirectShow anyway). Please could someone give me a sample piece of code for VB.net as I have searched for hours and can't find anything. Thanks in advance for any replys ;)

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      If you have the DVD codec installed on your PC, then WMP will do this for you just fine. If you don't, then nothing will work.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

      P 1 Reply Last reply
      0
      • C Christian Graus

        If you have the DVD codec installed on your PC, then WMP will do this for you just fine. If you don't, then nothing will work.

        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

        P Offline
        P Offline
        portreathbeach
        wrote on last edited by
        #3

        That's the strange thing. If I use WMP from the Windows Start menu it plays DVD's fine. But when I put WMP into a form in visual basic, it starts to play it, but then pauses, jumps about and crashes!

        C 1 Reply Last reply
        0
        • P portreathbeach

          That's the strange thing. If I use WMP from the Windows Start menu it plays DVD's fine. But when I put WMP into a form in visual basic, it starts to play it, but then pauses, jumps about and crashes!

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          That's odd.  It's not how your code is calling WMP ?

          Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups