View Full Version : VB AppActivate Windows Media Player

01-19-2012, 06:18 PM

In Visual Basic could someone please tell me why...

AppActivate "Windows Media Player"

doesn't work?

I use AppActivate with other applications fine using the Title but it's not happening with wmp.
Searching forums and google but I can't find an answer

Help please?


01-19-2012, 08:24 PM
Are you getting any errors or anything?

01-20-2012, 12:01 PM
It actually seems to work when in Media Player I just have the CD highlighted and I'm looking at the CD tracklisting.
But I want to be able to choose an album from the library and view that and then run the VB subroutine. At that point I get
Run-time error '5';
Invalid procedure call or argument

And the AppActivate "Windows Media Player" bit is highlighted.

It's as if it needs a different title in there when I'm looking at Library in WMP. But I don't know what the title is or how to find it.