Hey I know this must be simple, but how do I prevent windows media player playing automatically when the form it is contained on is loaded?

Thanks

Disable it in form load then enable it when needed.

Thanks but theres and even easier method:

axWindowsMediaPlayer1.Ctlcontrols.stop();

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.