Discussion:
WMPlayer.ocx
(too old to reply)
Dave "Crash" Dummy
2015-04-22 19:14:26 UTC
Permalink
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
2015-04-22 19:36:00 UTC
Permalink
Post by Dave "Crash" Dummy
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
2015-04-22 20:10:46 UTC
Permalink
Post by GS
Post by Dave "Crash" Dummy
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
2015-04-22 21:45:58 UTC
Permalink
Post by Dave "Crash" Dummy
Post by GS
Post by Dave "Crash" Dummy
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???
--
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
2015-04-23 00:37:47 UTC
Permalink
Post by GS
Post by Dave "Crash" Dummy
Post by GS
Post by Dave "Crash" Dummy
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
2015-04-23 07:51:32 UTC
Permalink
Post by Dave "Crash" Dummy
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
2015-04-23 11:09:27 UTC
Permalink
Post by JJ
Post by Dave "Crash" Dummy
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.
--
Crash

English is not my native tongue; I'm an American.
Todd Vargo
2015-04-23 20:01:15 UTC
Permalink
Post by Dave "Crash" Dummy
Post by JJ
Post by Dave "Crash" Dummy
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
2015-04-23 20:06:27 UTC
Permalink
Post by Todd Vargo
Post by Dave "Crash" Dummy
Post by JJ
Post by Dave "Crash" Dummy
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
--
Todd Vargo
(Post questions to group only. Remove "z" to email personal messages)
Dave "Crash" Dummy
2015-04-24 10:43:52 UTC
Permalink
Post by Todd Vargo
Post by Todd Vargo
Post by Dave "Crash" Dummy
Post by JJ
Post by Dave "Crash" Dummy
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
2015-04-24 14:39:28 UTC
Permalink
Post by Dave "Crash" Dummy
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
2015-04-24 22:12:49 UTC
Permalink
Post by JJ
Post by Dave "Crash" Dummy
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
Thanks. I'll file that away for future reference.
--
Crash

"I am not young enough to know everything."
~ Oscar Wilde ~
Dave "Crash" Dummy
2015-05-01 19:21:29 UTC
Permalink
Post by Dave "Crash" Dummy
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
2015-05-01 22:08:11 UTC
Permalink
Post by Dave "Crash" Dummy
Post by Dave "Crash" Dummy
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
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
2015-05-01 22:42:12 UTC
Permalink
Post by Ulrich Möller
Post by Dave "Crash" Dummy
Post by Dave "Crash" Dummy
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
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,
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%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.
Loading...