Setting autostart property to true for WMP ActiveX control

dannewestis

Registered User.
Local time
Today, 23:09
Joined
Sep 15, 2006
Messages
12
I get an error when trying to set autostart to true for the WMP control in VBA (it's false by default).

Code:
Me.wmplayer.URL = path_to_file

works fine (although Me.wmplayer.filename doesn't).

But this gives me the error message "The object does not support the property or method":

Code:
Me.wmplayer.autoStart = True

What have I typed wrong? Using WMP 9 and VBA 6.0 with Access 2000.
 

Users who are viewing this thread

Back
Top Bottom