Question I am trying to link my database to my software application.

lamoureaux32

New member
Joined
Oct 19, 2009
Messages
1
Programming Experience
10+
I have a database with 2 fields
1) text
2) .wav file

I am trying to get the data in the dataset to correspond with the software application using VBasic. I am using MS Access 2007 for the database. I have tried everything. What I need is to call the .wav file from the database to the software application dialog form.

I don't have any problems getting the text to show inside a comboBox, but I do not know how to link the .wav file from the Database Field to the software application dialog form.

what can I do?
 
The sound data will be retrieved from the database as a Byte array. You can pass that array directly to My.Computer.Audio.Play. You could also use File.WriteAllBytes to save it to a file if you wanted.
 

Latest posts

Back
Top