Home > Software engineering > [for] vb how can you get a video to let players out, read the next?
[for] vb how can you get a video to let players out, read the next?
Time:09-23
I now have A, A program will be kept open the video, Windows media player will be the one in the latest open default play video, that is, before A haven't finished, opened A new video, began to sow A, Now I want to have another program B, control the media player is playing the first out, to play the latest open video (broadcast is A open video is in the process of automatic ignore, don't play it) The great spirit refers to the way genuflect is begged... Did not call the program A method of interface
CodePudding user response:
You can describe clearly, this description ability, it is incomprehensible
CodePudding user response:
If it is a direct call media player to play, it might not, If it is similar to the "" ShellExecute, let the system to the default player to play, that your idea is possible,
This you can verify: System when equipped with other players, open the program A video type instead of the default use third party player play; If the program to open A video into with A third party player played, the idea of you want to achieve; If still use the media player to open, it could have the feeling,
To install the system unless wmplayer. Exe name, and then used his program to wmplayer. Exe to replace it, But for wen to death "system file protection mechanism, the method, I am afraid,
In "your ideas to meet your" conditions, to truly implement, another condition is: You must be able to detect the player state of play (play, or pause, end of the play, leisure, etc.), So your application can according to the player state, to achieve let "the next video player, or ignore it,
CodePudding user response:
If "can be achieved", of course, you may be able to open the program down all of the video, Let the player one by one to play out,