Click here to Skip to main content
15,899,754 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
I want to know how to store images, or sound files in a database (I don't know a thing about mysql), why?, because i want to call these images or sound files while my app.exe is running, to be displayed in it, please specify how to do that with examples.

P.S: please don't make fun of me, im a beginner :)

--------------
Thanks a lot, I appreciate your efforts.
Posted
Comments
Sergey Alexandrovich Kryukov 17-Jan-12 16:36pm    
Looking at your previous question, who do you think made fun of your? Some of your mistakes were pointed out, but this is normal (and not really funny in your case). Bee cool. :-)
--SA
NeptuneHACK! 19-Jan-12 4:35am    
Cool as Ice ^_^

Simple Movie Database in C# using Microsoft Access[^]
This is a small application that might help you along the way. Considering the date on the application I'm expecting that it is in dotNet3 or 3.5, but it should translate fairly well to dotNet4.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 17-Jan-12 20:52pm    
First OP suggestion is answered (I did), second one is answered. Teamwork! My 5.
--SA
NeptuneHACK! 19-Jan-12 4:41am    
That was EXACTLY what I was looking for, Thank you very much for helping.
But I was wondering, Are "Access dbs better that SQL"?
Sergey Alexandrovich Kryukov 19-Jan-12 4:55am    
Access is hardly better because it is just file-based or file-server based, not even client-server. However, it highly depends on the purpose.

See:
http://en.wikipedia.org/wiki/Microsoft_Access
and
http://en.wikipedia.org/wiki/File_server
vs.
http://en.wikipedia.org/wiki/Client%E2%80%93server

--SA
hi you can store the file in servers Local Folder and save the Loaction & name of the File in the Database.
or
i think in MySql there is a datatype "blob" you can use this.
this link can help you http://mrarrowhead.com/index.php
 
Share this answer
 
v2
Comments
NeptuneHACK! 19-Jan-12 4:42am    
I don't know why, but the link is dead, anyways thx for help :D

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900