Solved

Upload Image File to SQL

Posted on 2007-03-29
7
168 Views
Last Modified: 2010-04-30
I am wanting to create a visual basic 6 application to upload an image stored on my hard drive to a SQL database.  I have an image field that I am using to store the binary data.  Thanks in advance for the help!
0
Comment
Question by:jayh99
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
7 Comments
 
LVL 15

Expert Comment

by:JackOfPH
ID: 18821512
A word of advice:

Instead of storing the images in your database, it is better to store the path of the image in the database.

Why? Doing so will boost system performance and you can utilize the size of the database.

Imagine, if you will store am image of size 100 kb. The size of you database will increment of 100 kb... While, If you store only the path of the image in your database the database while increment only of small amount.

Jack
0
 
LVL 15

Expert Comment

by:JackOfPH
ID: 18821538
But if you still want to do this here, have a look.

There is a link in the threads

Jack
0
 
LVL 15

Accepted Solution

by:
JackOfPH earned 50 total points
ID: 18821539
0
 
LVL 15

Expert Comment

by:JackOfPH
ID: 19155170
I think I gave him answer to his questions...
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question