473,398 Members | 2,120 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,398 software developers and data experts.

hello.. i need to read picture or notepad from access database

hello.. i need to read picture or notepad from access database ..

i make the access column a ole object i put the photo but when i photo.text = myreader(1) then it says conversion from byte to string isnt allowed something like this please help me i am stacked and its my final project to get a grade
Feb 26 '07 #1
6 1626
vijaydiwakar
579 512MB
hello.. i need to read picture or notepad from access database ..

i make the access column a ole object i put the photo but when i photo.text = myreader(1) then it says conversion from byte to string isnt allowed something like this please help me i am stacked and its my final project to get a grade
photo is textbox or picturebox?
Feb 26 '07 #2
i tried them both ....
Feb 26 '07 #3
vijaydiwakar
579 512MB
i tried them both ....
i think streamreader may help u
Feb 26 '07 #4
but how streamreader will work with access database ?
Feb 26 '07 #5
mwood
5
i do this all the time with my websites and it is really simple. i assume you have a querry to pull the data from the database. if not i can help you with that also. but all i do after my querry is put <img border="0" src="images/staff/<%=rs("image")%>" width="164" height="135"> where image is the name of the field where the image name is stored.
Feb 26 '07 #6
but if i put the img src tag when asp will know when the image it will be load concerning the select * command where ...... and what images will be load each time
Feb 27 '07 #7

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

Similar topics

0
by: Sandi | last post by:
I have a simple problem: I have an Access database (images.mdb) that has 2 columns: one is the id of the picture (an integer) and one (column named picture) is a field of type OLE Object which...
5
by: mr.iali | last post by:
Hi Everyone I would like to get into software developent using a programming language like c++, java or pl/sql for oracle. I have no idea where to start from. Which language is there more...
3
by: Andrej Hristoliubov | last post by:
I am the best c++ programmer in the whole wide world. Trust ME! My reference is Victor Bazarov,Valentin Samko,Alf P.Steinbach( Me and Alf actually intern together at Microsoft), and Bjarne...
2
by: Lyn | last post by:
Hi, I am struggling to display photographs in a list format. Any help will be greatly appreciated. Originally I had attempted to store photographs as embedded OLE Objects, but had lots of...
3
by: Sandi | last post by:
I have a simple problem: I have an Access database (images.mdb) that has 2 columns: one is the id if the picture (an integer) and one (column named picture) is a field of type OLE Object which...
20
by: mike | last post by:
I help manage a large web site, one that has over 600 html pages... It's a reference site for ham radio folks and as an example, one page indexes over 1.8 gb of on-line PDF documents. The site...
1
by: pagoto123 | last post by:
i want the code to read an object (ole object) from access database to a textbox in asp.net . the object might be picture or notepad (txt) here is my command MsgBox("Result found",...
31
by: Don Leverton | last post by:
Hi Folks, I've been away from this NG for quite a while, persuing other interests etc. I have made a few posts / replies here lately, and find this whole NG thing a little awkward and...
4
by: shelley_2000 | last post by:
What is the best approach to collect and load Employee Resume Data from External Employees who may not have Microsoft access? If is likely they will have Microsoft Word, but not Microsoft Access. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.