...

View Full Version : VB AppActivate Windows Media Player



sonofjack
01-19-2012, 05:18 PM
Hi

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

[CODE]
AppActivate "Windows Media Player"
[|CODE]

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?

Thanks

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

sonofjack
01-20-2012, 11:01 AM
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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum