LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error with Windows Media Player ActiveX control

When I try to drop in a Windows Media Player control I get an error:

 

"Error loading type library/DLL"

 

Any ideas?

0 Kudos
Message 1 of 9
(3,643 Views)

Hi Wendy,

 

Are you using LabWindows/CVI? Please attach a screenshot of the error to have more information. I think we might be at the issue that Receiving "Error loading type library/DLL" When Using ActiveX Automation with Microsoft Excel and La... shows. Although this is a Media Player ActiveX control and not an Excel control, we might try to register and unregister the control following How Do I Manually Register Type Libraries, ActiveX Controls, and ActiveX Servers? and it will guide you throught

 

Please let me know if this helps.

Regards,
Daniel REDS
RF Systems Engineer

Help us grow.
If a post solves your question, mark it as The Solution.
If a post helps, give Kudos to it.
0 Kudos
Message 2 of 9
(3,624 Views)

Why would you assume the poster is using LabWindows if they're posting in the LabVIEW board? Granted, there are some that get the two confused, but I see no evidence in the post that would even warrant that conclusion. And what, exactly, is an "Excel control"? There is no such thing. Excel has no ActiveX controls. It has an ActiveX server, but that's an entirely different beast.

 

Still, the suggestion of re-registering the control in case it became corrupted is a good one. Smiley Wink

 

To poster: Are you tring to put the Windows Media Player control that is in the Controls palette, or are you trying to insert the Windows Media Player ActiveX control into an ActiveX container? The one that's in the Controls palette is a pre-loaded ActiveX container. What version of LabVIEW? What version of WMP? What version of Windows?

0 Kudos
Message 3 of 9
(3,614 Views)

I am using Labview 7.1 in Windows 7 with Windows Media Player 12.  I am trying to insert the Windows Media Player ActiveX control into an ActiveX container.

0 Kudos
Message 4 of 9
(3,604 Views)

LabVIEW 7.1 is not supported on Windows 7. I suggest trying it on a newer version of LabVIEW.

0 Kudos
Message 5 of 9
(3,598 Views)

Thanks for the correction Mercurio.

 

Indeed Wendy, Mercurio is right. I strongly recommend you to upgrade your LabVIEW version if you are using Windows 7, since unfortunately we do not support that far back anymore. You can see what versions we do support on which OS on Windows Version Compatibility with LabVIEW. If you are worried about backwards compatibility you can always check How to Upgrade or Revert a VI to a Different Version of LabVIEW.

 

Did you try re-registering the control?

Regards,
Daniel REDS
RF Systems Engineer

Help us grow.
If a post solves your question, mark it as The Solution.
If a post helps, give Kudos to it.
0 Kudos
Message 6 of 9
(3,592 Views)

If upgrading is out of question. Like a budget stopping it. You could try to this http://www.microsoft.com/download/en/details.aspx?id=8002 That will allow you to run XP inside windows 7. It is also other media players like VLC and Apple quick time that have ActiveX controllers. I have tested the Quicktime version and it is quite good.



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 7 of 9
(3,588 Views)

How do I re-regester the control?

 

 Thanks!

0 Kudos
Message 8 of 9
(3,571 Views)

Here's the link from my previous post you can follow to re-register your ActiveX control:

 

How Do I Manually Register Type Libraries, ActiveX Controls, and ActiveX Servers?

Regards,
Daniel REDS
RF Systems Engineer

Help us grow.
If a post solves your question, mark it as The Solution.
If a post helps, give Kudos to it.
0 Kudos
Message 9 of 9
(3,563 Views)