Hello
I am a newbie to VB.NET, normally I code in VB6!
Now I have a big problem:
I want to have a server which has a windows media player-Control on
it. With the client I should remotly remote windows media player!
Therefore I took the sample "Sockets" from 101 samples for VB.NET from
microsoft
(http://www.microsoft.com/downloads/d...displaylang=en)
This is working perfectly, now I have added a WMP9-Controll!
The server is now listening und if the data which arrives is "1" then
he opens a playlist in the media player like this:
If data = "1" Then
AxWindowsMediaP layer1.URL = ("C:\Metallica. m3u")
End If
That is working! Now I want to control the following:
Playing next song in Playlist! This is:
AxWindowsMediaP layer1.Ctlcontr ols.next()
OK: That's why I added this:
If data = "2" Then
AxWindowsMediaP layer1.Ctlcontr ols.next()
End If
Logically or not? The Problem is: It is not working! If I enter "1"
into the client, the media player start with the playlist! But if I
then enter "2" the server receives "2" but then he does not play the
next song!
When I replace AxWindowsMediaP layer1.Ctlcontr ols.next() with msgbox
"hello" then it is working, so the problem is with
AxWindowsMediaP layer1.Ctlcontr ols.next()! Why is this not working?
After he failes, he will not receive any more message, so the
connection is blocked...
What's the problem?!
For any help I really want to thank you in advance!!
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com