Results 1 to 7 of 7

Thread: Visual Basic 6 MPlayer class

  1. #1
    Low Bitrate farolfo's Avatar
    Join Date
    Apr 2004
    Posts
    69

    Visual Basic 6 MPlayer class

    Create a new form, in main section of the form write:

    Public WithEvents MPlayerWin As MPlayerFork

    and in form load:

    Set MPlayerWin = New MPlayerFork
    MPlayerWin.Init 8192, 250, MPVideoPanel
    MPlayerWin.MPQuitDelay = 2000

    MPVideoPanel is the picturebox where mplayer draw video

    You also need redirect.dll, you can find it on

    http://users.skynet.be/saw/

    If you want help me in my carpc software development, share info abuot vb you are wellcome, the project is opensource
    Attached Files Attached Files

  2. #2
    Newbie
    Join Date
    Jul 2009
    Posts
    3
    Hi

    Thanks for creating this class... it is just what I was looking for but... I tried to do as you suggested to see how it works and immediately received a type error with the declaration MPAudioTrack As Vector. Vector is not recognized by my VB 6 as a data type. Did you have your own type definition elsewhere? I tried changing the type just to see if the project would run at all and immediately received another error: WithEvents MPlayerStdHID As RedirectLib.Application. I am assuming this has to do with the redirect.dll that we are supposed to have. Unfortunately, the link you gave does not go to that dll.

    Sorry because I think you have done some good work. (I apologize for not writing in Italian)

    Cheers
    David

  3. #3
    Newbie
    Join Date
    Jul 2009
    Posts
    3

    More on mplayer windows class

    Hi again.... it is a few years later and I am still interested in using your class for mplayer.exe. You never replied to me about either the declaration of something as vector, which VB6 does not support or an alternate location for redirect.dll and what it is needed for. I hope you are around. I see you are still posting on other parts of mp3ar.

    Cheers
    David

  4. #4
    Low Bitrate farolfo's Avatar
    Join Date
    Apr 2004
    Posts
    69
    Sorry if I've never answered but I do not read often mp3car.com. I do not know where you can find the dll because it was not my work. The post is very old and I no longer use vb6 but I switched to. net.

    I can see in my old sf project page, in package there are all dll you need to use MPlayer with VB6.

    http://sourceforge.net/projects/plastico/

  5. #5
    Newbie
    Join Date
    Jul 2009
    Posts
    3
    Thanks so much for this.

    Cheers
    David

  6. #6
    North of the land of Hey Huns
    Auto Apps:loading...

    Join Date
    Jun 2004
    Location
    Westminster, MD
    Posts
    2,127
    For the love of god, don't use VB6 for ANYTHING :P If you have to use visual basic, use VB.net.
    "stop with the REINSTALLS, what do you think we got some lame-o installer!!!" - mitchjs
    RevFE
    My Shop

  7. #7
    Newbie
    Join Date
    Dec 2011
    Posts
    20
    Wow this is great, any chance of adding an equalizer?

Similar Threads

  1. Destinator 5/6 in Visual Basic
    By Centauri_dk in forum Software & Software Development
    Replies: 26
    Last Post: 04-03-2007, 06:05 AM
  2. visual basic runtime
    By illo41100 in forum FreeDrive
    Replies: 1
    Last Post: 09-27-2005, 04:51 AM
  3. Visual Basic Question????
    By chuckctv in forum Software & Software Development
    Replies: 9
    Last Post: 12-28-2004, 12:25 PM
  4. Adding Gamepad input in Visual Basic
    By UBCSJonw in forum Software & Software Development
    Replies: 1
    Last Post: 09-10-2003, 09:00 PM
  5. i need a visual basic OCX for an generic infrared receiver
    By babas151 in forum Software & Software Development
    Replies: 9
    Last Post: 04-20-2002, 03:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •