Run time error 438 (method not supported) with WMP ActiveX control

R

relun

I have placed a WMP ActiveX control on a form and am trying to get Play and
Stop command buttons to work, but code such as "ActiveXCtl5.Stop" or
"ActiveXCtl5.Controls.Stop" results in a run time 438 message.
"ActiveXCtl5.URL=(file name)" does cause WMP control to play correctly. I am
using the following references - are they correct?
Visual Basic for Applications
Microsoft Access 9.0 Object Library
Windows Media Player (wmp.dll)
Microsoft DAO 3.6 Object Library
Windows Media Player (msdxm.ocx)
Or is there some other problem?

Thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top