473,467 Members | 1,303 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

At a loss with Media Player

I have a tool that uses the Windows Media Player to display certain products
to users. It works great on my machine, but I am having great difficulty on
one of the "product" machines. To help find the problem, I have installed VS
2005 on the machine so that I can at least figure out what the problem is.
When I run the tool, I get the "class not registered exception." I do ot know
which clas, but when I open up my code, the axWindowsMediaPlayer component
cannot be found. When I try to add it to my toolbox, it never shows up. Any
ideas? I've tried reinstalling Windows Media Player, but the downloaded
version isn't as new as the updated verison that I have so that fails. I'm
running Windows Server 2003 64 Bit on a 64 bit machine with Media Player 10
for 64 Bit. I have had this work on another 64 bit machine, but it doesn't
work on any of the others and IT has reformatted the "good' machine. Any
ideas would be wonderful.
Nov 16 '07 #1
3 2264
Just a suggestion, Why dont you distribute the dll along with the
application ? Also, during installation register the dll so that you
have no failure due to dll not available.

Susan wrote:
I have a tool that uses the Windows Media Player to display certain products
to users. It works great on my machine, but I am having great difficulty on
one of the "product" machines. To help find the problem, I have installed VS
2005 on the machine so that I can at least figure out what the problem is.
When I run the tool, I get the "class not registered exception." I do ot know
which clas, but when I open up my code, the axWindowsMediaPlayer component
cannot be found. When I try to add it to my toolbox, it never shows up. Any
ideas? I've tried reinstalling Windows Media Player, but the downloaded
version isn't as new as the updated verison that I have so that fails. I'm
running Windows Server 2003 64 Bit on a 64 bit machine with Media Player 10
for 64 Bit. I have had this work on another 64 bit machine, but it doesn't
work on any of the others and IT has reformatted the "good' machine. Any
ideas would be wonderful.
--
"SPOON!" — The Tick's battle cry
"Not in the face! Not in the face!" — Arthur's battle cry
Dec 9 '07 #2
Actually, the problem was that I had to compile the entire program as 32 bit
instead of just the plugins. The plugin that used Media Player was looking
for the 64 bit version because the main application was compiled as Any CPU.

Thank you,
Susan

"Abhishek Tripathi" wrote:
Just a suggestion, Why dont you distribute the dll along with the
application ? Also, during installation register the dll so that you
have no failure due to dll not available.

Susan wrote:
I have a tool that uses the Windows Media Player to display certain products
to users. It works great on my machine, but I am having great difficulty on
one of the "product" machines. To help find the problem, I have installed VS
2005 on the machine so that I can at least figure out what the problem is.
When I run the tool, I get the "class not registered exception." I do ot know
which clas, but when I open up my code, the axWindowsMediaPlayer component
cannot be found. When I try to add it to my toolbox, it never shows up. Any
ideas? I've tried reinstalling Windows Media Player, but the downloaded
version isn't as new as the updated verison that I have so that fails. I'm
running Windows Server 2003 64 Bit on a 64 bit machine with Media Player 10
for 64 Bit. I have had this work on another 64 bit machine, but it doesn't
work on any of the others and IT has reformatted the "good' machine. Any
ideas would be wonderful.

--
"SPOON!" — The Tick's battle cry
"Not in the face! Not in the face!" — Arthur's battle cry
Dec 9 '07 #3
Liz

"Susan" <Su***@discussions.microsoft.comwrote in message
news:0A**********************************@microsof t.com...
>I have a tool that uses the Windows Media Player to display certain
products
to users. It works great on my machine, but I am having great difficulty
on
one of the "product" machines. To help find the problem, I have installed
VS
2005 on the machine so that I can at least figure out what the problem is.
When I run the tool, I get the "class not registered exception." I do ot
know
which clas, but when I open up my code, the axWindowsMediaPlayer component
cannot be found. When I try to add it to my toolbox, it never shows up.
Any
ideas? I've tried reinstalling Windows Media Player, but the downloaded
version isn't as new as the updated verison that I have so that fails. I'm
running Windows Server 2003 64 Bit on a 64 bit machine with Media Player
10
for 64 Bit. I have had this work on another 64 bit machine, but it doesn't
work on any of the others and IT has reformatted the "good' machine. Any
ideas would be wonderful.
are these files in your <APP>\bin\release directory:

AxInterop.WMPLib.dll
Interop.WMPLib.dll

??

if you're including them in your install on the "product machine," it's a
bit distressing that the app won't work ....

maybe you have to use regsvr32.exe and manually register them?? I've done
this kind of app before and didn't have a problem but that may have been
because the right WMP was already installed on the target ....
Dec 10 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Anise | last post by:
I have a question concerning embedding a windows media player into a web application in .net.. I download Windows Media Player 10 and its SDK On the .ascx page I placed a windows media player...
1
by: Stephen Adam | last post by:
Hi there, Have spent a while trying to find out how to connect to Windows Media Player through COM. Unfortunately there doesnt seem to be much stuff about it on the web. What I need to do is...
1
by: Shane | last post by:
I'm trying to access the media player (V10) mediacollection object from my ..NET web service to return a list of media files. For some reason when i call getByAttribute("MediaType", "Audio") ...
3
by: UJ | last post by:
I have a .avi file that uses the Divx codec. If I load it with windows media player program it works fine. If I load it using my control in a program, it doesn't display. Over standard media files...
19
by: Tony | last post by:
I'm working on project that plays movies using Windows Media Player and I'm controlling everything with JavaScript. Per the client I only need to support IE 6 or greater which happens to make...
2
riptide2049
by: riptide2049 | last post by:
I really have a problem here. I have a code that is suppost to take the href of a link from the right class;value of a link maked toreturn false. the value is a Media file the file is sent to...
0
by: artsohc | last post by:
Hey Everyone, this is my first time posting so go easy on me. I am trying to hook up music-on-hold at the office I work at. I got all the music loaded and I got Windows Media Player working while...
3
by: hurricane_number_one | last post by:
I want to be able to play/pause/next/back the tracks in whatever media player app is running. So if iTunes is running, it will receive those commands, if Windows Media Player is, it will receive...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.