Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

WMPlayer.ocx

1,260 views
Skip to first unread message

Dave "Crash" Dummy

unread,
Apr 22, 2015, 3:14:30 PM4/22/15
to
I dumped Windows Media Player, which I really want to be rid of, but
discovered that that also took the WMP ActiveX control with it, which I
do use from time to time. Does anybody know where I can download the
WMPlayer.ocx file? Finding anything on the MS site is impossible.
--
Crash

"When you want to fool the world, tell the truth."
~ Otto von Bismarck ~

GS

unread,
Apr 22, 2015, 3:36:05 PM4/22/15
to
> I dumped Windows Media Player, which I really want to be rid of, but
> discovered that that also took the WMP ActiveX control with it, which
> I
> do use from time to time. Does anybody know where I can download the
> WMPlayer.ocx file? Finding anything on the MS site is impossible.

Depending on how you 'dumped' WMP, you may no longer have license to
use its OCX if required!

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion


Dave "Crash" Dummy

unread,
Apr 22, 2015, 4:10:50 PM4/22/15
to
GS wrote:
>> I dumped Windows Media Player, which I really want to be rid of,
>> but discovered that that also took the WMP ActiveX control with it,
>> which I do use from time to time. Does anybody know where I can
>> download the WMPlayer.ocx file? Finding anything on the MS site is
>> impossible.
>
> Depending on how you 'dumped' WMP, you may no longer have license to
> use its OCX if required!

I "dumped" it by unchecking the Windows Media Player feature in my fully
licensed Windows 7 Ultimate installation. In any event, I do have a
workaround if WMPlayer.ocx is not available by itself.

--
Crash

"The fewer the facts, the stronger the opinion."
~ Arnold H. Glasow ~

GS

unread,
Apr 22, 2015, 5:46:03 PM4/22/15
to
> GS wrote:
>>> I dumped Windows Media Player, which I really want to be rid of,
>>> but discovered that that also took the WMP ActiveX control with
>>> it,
>>> which I do use from time to time. Does anybody know where I can
>>> download the WMPlayer.ocx file? Finding anything on the MS site is
>>> impossible.
>>
>> Depending on how you 'dumped' WMP, you may no longer have license
>> to
>> use its OCX if required!
>
> I "dumped" it by unchecking the Windows Media Player feature in my
> fully
> licensed Windows 7 Ultimate installation. In any event, I do have a
> workaround if WMPlayer.ocx is not available by itself.

Ok, I see where that's done! Perhaps recheck it, copy the OCX
somewhere, then clear it???

Dave "Crash" Dummy

unread,
Apr 22, 2015, 8:37:50 PM4/22/15
to
GS wrote:
>> GS wrote:
>>>> I dumped Windows Media Player, which I really want to be rid
>>>> of, but discovered that that also took the WMP ActiveX control
>>>> with it, which I do use from time to time. Does anybody know
>>>> where I can download the WMPlayer.ocx file? Finding anything on
>>>> the MS site is impossible.
>>>
>>> Depending on how you 'dumped' WMP, you may no longer have license
>>> to use its OCX if required!
>>
>> I "dumped" it by unchecking the Windows Media Player feature in my
>> fully licensed Windows 7 Ultimate installation. In any event, I do
>> have a workaround if WMPlayer.ocx is not available by itself.
>
> Ok, I see where that's done! Perhaps recheck it, copy the OCX
> somewhere, then clear it???

Sigh! Nothing is ever simple with Microsoft. I mounted a backup image of
the system with Windows Media Player installed, and there is no
WMPlayer.ocx file. The ActiveX control must be part of some DLL. Well,
I'm not going to screw with it any further. As I said, I can work around it.
--
Crash

A line in the sand doesn't mean much if it disappears at high tide.

JJ

unread,
Apr 23, 2015, 3:51:38 AM4/23/15
to
On Wed, 22 Apr 2015 20:37:47 -0400, Dave "Crash" Dummy wrote:
> Sigh! Nothing is ever simple with Microsoft. I mounted a backup image of
> the system with Windows Media Player installed, and there is no
> WMPlayer.ocx file. The ActiveX control must be part of some DLL. Well,
> I'm not going to screw with it any further. As I said, I can work around it.

Windows Media Player (WMP) v11+ ActiveX file name is "wmp.dll".
WMP version v10 and olders use "wmp.ocx", or probably "wmplayer.ocx".

Dave "Crash" Dummy

unread,
Apr 23, 2015, 7:09:29 AM4/23/15
to
Thanks. I'll hunt that down and try it.
--
Crash

English is not my native tongue; I'm an American.

Todd Vargo

unread,
Apr 23, 2015, 4:00:52 PM4/23/15
to
On 4/23/2015 7:09 AM, Dave "Crash" Dummy wrote:
> JJ wrote:
>> On Wed, 22 Apr 2015 20:37:47 -0400, Dave "Crash" Dummy wrote:
>>> Sigh! Nothing is ever simple with Microsoft. I mounted a backup image of
>>> the system with Windows Media Player installed, and there is no
>>> WMPlayer.ocx file. The ActiveX control must be part of some DLL. Well,
>>> I'm not going to screw with it any further. As I said, I can work
>>> around it.
>>
>> Windows Media Player (WMP) v11+ ActiveX file name is "wmp.dll".
>> WMP version v10 and olders use "wmp.ocx", or probably "wmplayer.ocx".
>
> Thanks. I'll hunt that down and try it.

Also, it will need to be registered in the registry manually. See the
following for instructions.

https://support.microsoft.com/en-us/kb/146219

--
Todd Vargo
(Post questions to group only. Remove "z" to email personal messages)

Todd Vargo

unread,
Apr 23, 2015, 4:06:03 PM4/23/15
to
On 4/23/2015 4:01 PM, Todd Vargo wrote:
> On 4/23/2015 7:09 AM, Dave "Crash" Dummy wrote:
>> JJ wrote:
>>> On Wed, 22 Apr 2015 20:37:47 -0400, Dave "Crash" Dummy wrote:
>>>> Sigh! Nothing is ever simple with Microsoft. I mounted a backup
>>>> image of
>>>> the system with Windows Media Player installed, and there is no
>>>> WMPlayer.ocx file. The ActiveX control must be part of some DLL. Well,
>>>> I'm not going to screw with it any further. As I said, I can work
>>>> around it.
>>>
>>> Windows Media Player (WMP) v11+ ActiveX file name is "wmp.dll".
>>> WMP version v10 and olders use "wmp.ocx", or probably "wmplayer.ocx".
>>
>> Thanks. I'll hunt that down and try it.
>
> Also, it will need to be registered in the registry manually. See the
> following for instructions.
>
> https://support.microsoft.com/en-us/kb/146219
>

I meant to post the following url which is more generic.

https://support.microsoft.com/en-us/kb/2746232

Dave "Crash" Dummy

unread,
Apr 24, 2015, 6:43:55 AM4/24/15
to
Todd Vargo wrote:
> On 4/23/2015 4:01 PM, Todd Vargo wrote:
>> On 4/23/2015 7:09 AM, Dave "Crash" Dummy wrote:
>>> JJ wrote:
>>>> On Wed, 22 Apr 2015 20:37:47 -0400, Dave "Crash" Dummy wrote:
>>>>> Sigh! Nothing is ever simple with Microsoft. I mounted a
>>>>> backup image of the system with Windows Media Player
>>>>> installed, and there is no WMPlayer.ocx file. The ActiveX
>>>>> control must be part of some DLL. Well, I'm not going to
>>>>> screw with it any further. As I said, I can work around it.
>>>>
>>>> Windows Media Player (WMP) v11+ ActiveX file name is "wmp.dll".
>>>> WMP version v10 and olders use "wmp.ocx", or probably
>>>> "wmplayer.ocx".
>>>
>>> Thanks. I'll hunt that down and try it.
>>
>> Also, it will need to be registered in the registry manually. See
>> the following for instructions.
>>
>> https://support.microsoft.com/en-us/kb/146219
>>
>
> I meant to post the following url which is more generic.
>
> https://support.microsoft.com/en-us/kb/2746232

Since there is no OCX file, the DLL file can be registered the normal
way. I did that and was able to create a WMPlayer object in a script,
but none of the functions worked. I think it must depend on the presence
of the parent WMPlayer program. At this point, it is more trouble than
it is worth.
--
Crash

"Patriotism is the last refuge of a scoundrel."
~ Samuel Johnson ~

JJ

unread,
Apr 24, 2015, 10:39:31 AM4/24/15
to
On Fri, 24 Apr 2015 06:43:52 -0400, Dave "Crash" Dummy wrote:
>
> Since there is no OCX file, the DLL file can be registered the normal
> way. I did that and was able to create a WMPlayer object in a script,
> but none of the functions worked. I think it must depend on the presence
> of the parent WMPlayer program. At this point, it is more trouble than
> it is worth.

Well, the Windows Media Player program (the EXE file) is just a host program
for the WMP ActiveX with skin feature. The actual player engine is its
ActiveX.

On a working WMP v11 ActiveX, below files are loaded when playing a video.
Some of them may not be actually needed (e.g. "wmasf.dll" ASF video codec,
since I was playing an MKV file with XviD video, and I have ffdshow
installed). Some of them will need to be DLL-registered.

mfplat.dll
wmasf.dll
wmp.dll
wmpeffects.dll
wmploc.dll
wmvcore.dll

Dave "Crash" Dummy

unread,
Apr 24, 2015, 6:12:52 PM4/24/15
to
Thanks. I'll file that away for future reference.
--
Crash

"I am not young enough to know everything."
~ Oscar Wilde ~

Dave "Crash" Dummy

unread,
May 1, 2015, 3:21:34 PM5/1/15
to
Dave "Crash" Dummy wrote:
> I dumped Windows Media Player, which I really want to be rid of, but
> discovered that that also took the WMP ActiveX control with it, which
> I do use from time to time. Does anybody know where I can download
> the WMPlayer.ocx file? Finding anything on the MS site is impossible.

I use "sndrec32.exe" as a workaround for WMPlayer.ocx in my application.
It is not available in my Windows 7 system, but one I imported from XP
works fine. My need is to run a sound in the background, and sndrec32
with the proper switches will do that. This is the code I use:

Set WshShell = CreateObject("WScript.Shell")
WshShell.Run "sndrec32 /play /embedding /close song.wav"

Another way to do the job is to create an IE object and insert a
bgsound tag, but this is messy and requires setting a run time and
closing the object when done. Hosting the script in a HTA file would
also work.
--
Crash

Today is the first day of the rest of your life,
and there's not a damned thing you can do about it.

Ulrich Möller

unread,
May 1, 2015, 6:08:12 PM5/1/15
to
Am 01.05.2015 um 21:21 schrieb Dave "Crash" Dummy:
> Dave "Crash" Dummy wrote:
>> I dumped Windows Media Player, which I really want to be rid of, but
>> discovered that that also took the WMP ActiveX control with it, which
>> I do use from time to time. Does anybody know where I can download
>> the WMPlayer.ocx file? Finding anything on the MS site is impossible.
>
> I use "sndrec32.exe" as a workaround for WMPlayer.ocx in my application.
> It is not available in my Windows 7 system, but one I imported from XP
> works fine. My need is to run a sound in the background, and sndrec32
> with the proper switches will do that. This is the code I use:
>
> Set WshShell = CreateObject("WScript.Shell")
> WshShell.Run "sndrec32 /play /embedding /close song.wav"
>
> Another way to do the job is to create an IE object and insert a
> bgsound tag, but this is messy and requires setting a run time and
> closing the object when done. Hosting the script in a HTA file would
> also work.

Hi Dave,

perhaps this is an alternative too:

Dim objFile
Set objFile = CreateObject("SAPI.SpFileStream.1")
objFile.Open "song.WAV"
CreateObject("SAPI.SpVoice").Speakstream objFile
Set objFile = nothing

see also https://msdn.microsoft.com/en-us/library/ms720592(v=vs.85).aspx
<https://msdn.microsoft.com/en-us/library/ms720592%28v=vs.85%29.aspx>

Ulrich

Dave "Crash" Dummy

unread,
May 1, 2015, 6:42:15 PM5/1/15
to
> see also https://msdn.microsoft.com/en-us/library/ms720592(v=vs.85).aspx%20<https://msdn.microsoft.com/en-us/library/ms720592%28v=vs.85%29.aspx>

Thanks! That's much better. My problem is that I don't even know a lot
of this stuff exists.
--
Crash

Life is short. Eat dessert first.
0 new messages