Log in

View Full Version : Hide Windows Media Player on startup


Dazbot
08-05-2004, 10:29 PM
I'm trying to find a way to hide Windows Media Player from appearing when its first loaded using eVB, So far it's loading via the Create Process API:
CreateProcess("\Windows\wmplayer.exe", vbNullString, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
This works but brings the player to the front. I want to minimise it on startup.

Thanks.

Kowalski
08-06-2004, 10:06 AM
i've never coded in VB, so i dont know weather this is possible or not, but can you send windows message to your application?
if you can do that search the MSDN documents for WM_MINIMIZE message