• Congratulations to the Class of 2024 on your results!
    Let us know how you went here
    Got a question about your uni preferences? Ask us here

wmp control (1 Viewer)

velox

Retired
Joined
Mar 19, 2004
Messages
5,521
Location
Where the citi never sleeps.
Gender
Male
HSC
N/A
Im using the contol but how do i get it to open files to play? At the moment i only have the screen plus the play etc buttons.

Why cant i put this under the listbox thingo

Private Sub File1_DblClick()
MediaPlayer1.URL = File1.FileName
End Sub

It wont work, says it doesnt support object or method =/
 
Last edited:

Fosweb

I could be your Doctor...
Joined
Jun 20, 2003
Messages
594
Location
UNSW. Still.
Gender
Male
HSC
2003
No problems with the following code:

With WindowsMediaPlayer1
.Enabled = True
.URL = "whatever"
End With

Which control are you using exactly?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top