Welcome to Dream.In.Code
Become a VB Expert!

Join 149,540 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,529 people online right now. Registration is fast and FREE... Join Now!




save images in a database

 
Reply to this topicStart new topic

save images in a database

moevet07
28 Nov, 2007 - 01:15 PM
Post #1

New D.I.C Head
*

Joined: 28 Nov, 2007
Posts: 1


My Contributions
Hi

I am trying to store images on a database using the picturebox object to retreve them but with no luck. anyone can help out with a code snippet?

thanks
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: Save Images In A Database
28 Nov, 2007 - 10:18 PM
Post #2

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 9,482



Thanked: 161 times
Dream Kudos: 9050
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
Well Ill tell you it is very inefficient to store images in a database. Its ok to store the path to the file, the name of the file, even the name to display for the file, but store the images in a directory on the users computer.

If this make sense to you and you wish to research it further let me know what version of VB you're using, VB6 or VB.Net (VB2005, VB2003 VB 2005 Express Edition all fall into VB.Net) and Ill try and guide you the best I can smile.gif

This post has been edited by PsychoCoder: 28 Nov, 2007 - 10:18 PM
User is online!Profile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 09:22PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month