11-13-2011 09:02 AM
When I try to drop in a Windows Media Player control I get an error:
"Error loading type library/DLL"
Any ideas?
11-15-2011 07:05 AM
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.
11-15-2011 08:45 AM
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.
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?
11-15-2011 10:31 PM
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.
11-16-2011 08:09 AM
LabVIEW 7.1 is not supported on Windows 7. I suggest trying it on a newer version of LabVIEW.
11-16-2011 10:30 AM
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?
11-16-2011 10:48 AM
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.
11-16-2011 08:40 PM
How do I re-regester the control?
Thanks!
11-17-2011 06:37 AM
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?