D-AIGW From Hong Kong, joined Jul 2001, 261 posts, RR: 1 Posted (11 years 6 months 1 week 1 day 15 hours ago) and read 530 times:
Hi all
I wanted to embed a background music into my application. I used an OLE control, embedded the file (a MIDI) and tried using oleBGMusic.Action = 7 to fire it up. However, Winamp pops up as well.
Now I don't want Winamp to pop up, I consulted the help file and added oleBGMusic.DoVerb -3. It says it would hide the application, but it doesn't. I want the sound file to start playing but I don't want Winamp to pop up.
Would anybody who knows how to make this work, please help me!