G
Guest
hi, im using the Direct X SDK AudioVideoPlayback to play back MP3s, and it
worked fine in VB7, but when i try to use it in VB 8, it throws errors on
this code
//Global Declaration
Private song as Audio
//Inside of an event, i try to set the file to play from
//Doesnt Work
song.Open(.filename) //filename is a filename from an openfiledialog box
//Doesnt Work
song = Audio.FromFile(.filename) //filename same as above
says i cant use managed code like this bc itl hang the program....then how
can i get around this?
worked fine in VB7, but when i try to use it in VB 8, it throws errors on
this code
//Global Declaration
Private song as Audio
//Inside of an event, i try to set the file to play from
//Doesnt Work
song.Open(.filename) //filename is a filename from an openfiledialog box
//Doesnt Work
song = Audio.FromFile(.filename) //filename same as above
says i cant use managed code like this bc itl hang the program....then how
can i get around this?