Results 1 to 2 of 2

Thread: Using WindowsMediaPlayer in VB6

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2005
    Posts
    29

    Using WindowsMediaPlayer in VB6

    Hi Guys,

    does anyone know where i can get some info on using the windows mediaplayer component, I'm using what really should be a multiple form program but it's actually using a single form but on changing the view i'm just using the .visible=false command for all objects i dont want seen when the screen changes, the problem i've got it when mediaplayer is plaing something if i set .visible=false then the media is still played (which is OK -actually what i want it to do) but any video is played over the top of the form. Is there a way to hide the player and video but keep the soundtrack playing?

    Also, how can I make it play files from my computer or a playlist rather than just playing a single file, I'm not overly sure of the commands to make it work, i've spent about a day so far experimenting with it.

    Many Thanks

    Tom P

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Jan 2005
    Posts
    29

    Re: Using WindowsMediaPlayer in VB6

    Partly resolved this mself, figured out that adding this code hides the player fully but leaves the media playing without any visualisation showing
    VB Code:
    1. windowsmediaplayer.uimode="invisible"

    and to change it back when i want to redisplay it needs this

    VB Code:
    1. WindowsMediaPlayer.uiMode="full"

    Still need some help working out how to make a file open like help making a dialog box for opening media files (mp3, avi, wmv etc) and making the player play them.

    thanks

Posting Permissions

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



Click Here to Expand Forum to Full Width