Question Media conversion to binary ? plz

karohat

New member
Joined
Apr 29, 2010
Messages
2
Programming Experience
3-5
hi

plz , i want a code for conversion a video and sound files to digits or binary
to store it in a database ,
then restore them to Display it in my prog..!


thax a lot
 
The File.ReadAllBytes and .WriteAllBytes methods will read a file into a Byte array and write a Byte array to a file. As for storing that Byte array in a database:

Saving Images in Databases

The principle is exactly the same no matter what the binary data represents.
 
really?

but what the type of val , that i will restore a video or sound files in to ,,

Using picture As Image = Image.FromFile("file path here")...



i do the same that code for the pic but it does not work for other..

can u plz explain to me more !
 
Back
Top