media player in vd6.0 (1 Viewer)

funniboi

Active Member
Joined
Jun 18, 2004
Messages
1,224
Gender
Male
HSC
2004
I've got sort of a problem..

at school.. this works..

and at home..
this doesn't work..
why?

MediaPlayer2.FileName = "media\wav\greetings.wav"
MediaPlayer1.FileName = "media\midi\loop.mid"

i think the school has the older version..
what cause when i type MediaPlayer1. and the lsit comes up,
there is no "FileName"
 

sunny

meh.
Joined
Jul 7, 2002
Messages
5,350
Gender
Male
HSC
2002
Do those files exist on your computer?
 

funniboi

Active Member
Joined
Jun 18, 2004
Messages
1,224
Gender
Male
HSC
2004
I get this error

"Compile Error:

Method or data member not found"
 

sunny

meh.
Joined
Jul 7, 2002
Messages
5,350
Gender
Male
HSC
2002
You do not have the MediaPlayer control, whatever that might be, installed in your computer.
 

funniboi

Active Member
Joined
Jun 18, 2004
Messages
1,224
Gender
Male
HSC
2004
oh, no wonder.

=) all good. as long as it works at school..
 

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

Top