-Create a new project
-Add a button and a label to the form
-double click on any empty spot of the form
-on the form_load add: Set SDK = CreateObject("RoadRunner.SDK")
-Scroll to the top of the form and add this as the first line: Dim SDK as object
-Close the code window
-Double click on the button and add this:
SDK.Execute "PLAY"
label1.caption = SDK.GetInfo("TRACKNAME")
run it and press the button -- it should play/pause and display the track info on the label. That's all.



LinkBack URL
About LinkBacks
Reply With Quote



.


Bookmarks