Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 1st, 2005, 03:59 AM
Registered User
 
Join Date: Jun 2005
Location: ortigas, , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to vaneza
Default how to load images

How do i load images from sql. Im using vb6. Actually I need to store the image in sql and load it using vb6. I don't think i still need the filepath for the image because my goal is to save the image itself in the database and load it in the project.

Help!...

 
Old August 1st, 2005, 01:28 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Alameda, ca, USA.
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

because images are usually huge, it is recommended not to store them in the database itself, but to leave them in a "safe" folder, and to store only the pathname in the database
Marco
 
Old August 1st, 2005, 11:18 PM
Registered User
 
Join Date: Jun 2005
Location: ortigas, , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to vaneza
Default

thanks for the reply marco .... but how do i place the images in the "safe folder" that you're telling me? I database PC has high security and they don't allow any folder sharing.... that's why im thinking of saving the image itself.. but how?....
help.. anyone...

 
Old August 2nd, 2005, 12:42 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Alameda, ca, USA.
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

your point is well taken. We use a windows server (that is running using a logon with the right permissions) to store data. And it can run in any computer (not necessary the database server, infact in our case it doesn't)
Marco




Similar Threads
Thread Thread Starter Forum Replies Last Post
Load Images from and Save Images to a Database cyndie VB.NET 2 August 17th, 2008 06:42 AM
How to load multiple Images on the Form? shah123 C# 1 May 20th, 2007 09:28 PM
pre load images error Adam H-W Javascript 10 January 7th, 2005 12:11 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.