DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: How to use VB to play *.MP4 file and VCD

  1. #1
    Join Date
    Aug 2004
    Posts
    43,023

    How to use VB to play *.MP4 file and VCD

    [Originally posted by tam]

    I want to play a file .MP4 and VCD/DVD disc. Please help me!
    Thanks!

  2. #2
    Join Date
    Aug 2004
    Posts
    43,023

    Re:How to use VB to play *.MP4 file and VCD

    [Originally posted by veetian]

    personal opinion:
    i suppose that you must have a control called Media Player 6 control, you can add it into your project by choosing project -> components

    after adding it to your project, drag and drop the control onto your form, now you have the meida player's interface on your form.

    You will then need a control to retrieve the file's path, you can use the common dialogue controls provided by VB (also in the component manager).

    The common dialog should return a file's path, assign it to the media player control (i forgot the properties' name, sorry) and you will have the file playing.

    it works well with .mp2, .mp3, and .dat (vcd) files, i'm not sure if it will play DVD.

    regards,
    veetian

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center