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
Solved

Upload Image File to SQL

Posted on 2007-03-29
7
166 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
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

809 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