I actually thought I could do this:
Public playback As MediaJukebox.IMJPlaybackAutomation
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
playback.Next()
End Sub
Can anybody tell me what I'm doing wrong?
Can't be that hard to make a button skip to the next track right?
You've created an interface, but it doesn't in anyway reference
the Media Center interface.
If you imagine an interface as like a remote control to your telly,
the telly is Media Center. In order for the remote control to work
the remote needs to point at the telly.
The remote control doesn't care how the telly works, it just tells the telly
to change channels etc. This means Media Center can change behind the
scenes but you still use the same interface.
Moving the an analergy a bit further. Imagine the the remote is not
an infra red remote but a radio remote. Now it doesn't need to point
at the telly at all, but it does need to be on the same frequency as
the telly.
What you've done is to create a remote, but the frequency isn't pointed
at the telly.
Luckilly for us the Telly can tell us what Frequency it's on.
Ie Media Center will give us a reference to talk on.
This is a simplified view, behind the scenes there's a whole world
of things to learn about pointers/references etc, but that maybe
enough to keep you going.
Unfortunatley I'm not in front of a development machine but what I think
you want to do is something like this
'Get new Interface Pointer
playback = me.mediaCenterReference.GetPlayBack()
'Change to next track
playBack.Next()