?
Solved

Upload Image File to SQL

Posted on 2007-03-29
7
Medium Priority
?
169 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 200 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
Suggested Courses
Course of the Month9 days, 12 hours left to enroll

762 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