?
Solved

Can WindowsMediaPlayer play more than one file at a time?

Posted on 2006-03-30
3
Medium Priority
?
259 Views
Last Modified: 2012-05-05
Hello,

Using VB6

I would like build a VB6 program that can play more than one media file at the same time.
Example....

WindowsMediaPlayer1.URL Video1
WindoesMediaPlayer2.URL Video2

I can't get that to work.....it starts player1 and then starts player2 stopping player1
Is it even possible?
Is there another way or control to achieve it?

Thanks.....

---- Mike

0
Comment
Question by:MikeCombe
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
MilanKM earned 2000 total points
ID: 16335206
It's working & both playing video without any problem.

Private Sub Form_Load()
    MediaPlayer1.Open "file1.mpg"
    MediaPlayer2.Open "file1.mpg"
End Sub

I'm using Windows Media Player component. (msdxm.ocx)

Check it out
MilanKM
0
 

Author Comment

by:MikeCombe
ID: 16335579
perfect !

thanks...

--- Mike
0
 

Author Comment

by:MikeCombe
ID: 16345594
Hello,

any chance I can get a "new media player window" ?
sort of like doing a CTRL-N in Microsoft Windows Internet Explorer.

something like....

Private Sub Command1_Click()
     MediaPlayer1.xxx
End Sub    

Thanks,

---- Mike        
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month8 days, 7 hours left to enroll

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question