473,325 Members | 2,805 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Images

164 100+
Hi all,


How to store images into database using vb6.0..?

I have to retrieve it later from the database and that one shud be displayed in the picturebox or image box
Jul 11 '07 #1
8 1168
hariharanmca
1,977 1GB
Some body reply me please


which database you are using?
Jul 12 '07 #2
Killer42
8,435 Expert 8TB
Check the "index of VB articles" at the top of the forum, and look for the entries that mention "BLOB".
Jul 12 '07 #3
arunbalait
164 100+
which database you are using?
Am going to use Access database. But I need for both SQL Server and Access.

Thank you
Jul 16 '07 #4
hariharanmca
1,977 1GB
Am going to use Access database. But I need for both SQL Server and Access.

Thank you

Okay, in Sql Server you can find a data type called image. You can store images but I never tried that before. Better, you can store image path in the database, if the images are in standard location (images should not moved manually).
Jul 16 '07 #5
Killer42
8,435 Expert 8TB
Okay, in Sql Server you can find a data type called image. You can store images but I never tried that before. Better, you can store image path in the database, if the images are in standard location (images should not moved manually).
They must also be accessible by the same path, for any machine/user that needs to access them.
Jul 16 '07 #6
arunbalait
164 100+
Okay, in Sql Server you can find a data type called image. You can store images but I never tried that before. Better, you can store image path in the database, if the images are in standard location (images should not moved manually).
No images wouldnt be in standard location. Storing the paths will not reliable to me. I tried to store the images into sql server, and it got stored but I cudnt able to retrieve them. The images were stored as some binary value. So If I have to retrieve it for eg If to display particular image stored in the database in the picture box then what should I have to do.

It gives Type Mismatch error while retrieving.

Thanx
Jul 17 '07 #7
arunbalait
164 100+
They must also be accessible by the same path, for any machine/user that needs to access them.
Ya this is the problem here. The project I have developed is going to run from the Local server, so the clients will work with that application, so If I give access to that image location it leads to some problem like security etc., and using the paths is not a reliable one.

Thanx
Jul 17 '07 #8
hariharanmca
1,977 1GB
Ya this is the problem here. The project I have developed is going to run from the Local server, so the clients will work with that application, so If I give access to that image location it leads to some problem like security etc., and using the paths is not a reliable one.

Thanx

Go through to

Click This will help you
Jul 17 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Wayne | last post by:
I have a script that uses filesystemobject that reads files from a given path, in my case images. It is running on a server that is 2000 adv svr w/ all current patches. The script prior to some...
3
by: Simon | last post by:
This problem has been driving me mad for months.... Seen a few posts on forums about it but no answers... No mention on MSDN etc. XP Pro SP1, VS.NET (c#) .Net framework 1.1, IIS 5.1. In a...
10
by: Neo Geshel | last post by:
I am seeking to hand-roll my own blog in ASP.NET 2.0 and SQLExpress 2005. Why? Because I can. Because I will gain experience. The one thing that has me stumped at square one is inline images....
6
by: wattanabi | last post by:
Greetings, I'm attempting to layout a bunch of images in a grid using DIV's instead of a table. I currently have a 3x6 table that I need to convert to css. I've seen various example of a 3 to 4...
2
by: mouseit101 | last post by:
Hi, I'm writing a script that would (hopefully) search google images for whatever, and then return a list of URLs for the image. Right now I have: $dom = new DomDocument(); $url =...
0
by: Frenchie | last post by:
Hi, I have created a very neet menu from an example found on the MSDN library at: http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.menuitembinding.imageurlfield.aspx My...
1
by: Cerebral Believer | last post by:
Hi folks, I am using the following code for mouse over (roll-overs) in my XHTML code. <a onmouseover="document.getElementById('sitemap').src = '../images/buttons/sitemap_mo.jpg';"...
4
toxicpaint
by: toxicpaint | last post by:
Hi, can anyone give me a hand. I'm currently displaying 4 random images at the top of a page. I did this using an array of 35 pictures and then writing them to page. The problem I have is that in...
5
by: remon87 | last post by:
I need some help. I have javasript that creates the submenu but it works if I have a text with css. I need it to do the same with a roll over images. so when I click on the image the submenu...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.