Ive made a little dialog box in VB to start off with, all I want is for the player to be able to play an mp3 file located in the file box. The mp3 is displayed in the file box, and i have coded the button play with the following code:
If frmPlayer.MediaPlayer1.FileName <> "" Then frmPlayer.MediaPlayer1.Play
with MediaPlayer1 being a WMP insert (cutting corners )
Anyways it doesnt work, i just get an error about Object defined 824 or something i cant quite remember... what am i missing here ppl? If its any help the file box is named File1 and the media player above.
The button im trying to make is basically the equivalent of open, except its function is to take the file listed in the box and load it into the wmp insert, and the wmp insert will then play it.
Once ive finally overcome this obstacle i might make my own buttons lol