>Thank you for the answer and the ideas. I want to try to write a complete internet radio station, so I need to be able to play only one tune at a time. I also need a way to turn on the microphone. What is the code to play one tune?
Very simple, almost crude:
Thisform.Olecontrol1.FileName=lcFile
Thisform.Olecontrol1.Play
lcFile is a fullpath to a mp3, mpg, avi or any other playable file. Olecontrol1 is the WMP OCX object (you can see I didn't even bother to give it a sensible name :).