hello everybody,
im venkat doing my b.e 3rd year... Im currently working on my project of college administration system using vb6.
I need help on how to save an image in the access database...i have got the code on how to browse an image. but i'm not able to find out how to save it to a particular record on a database.
So please help me in this,,thanx in advance[/B]
venkatnams
0
Newbie Poster
Recommended Answers
Jump to PostDo you want to save the file name or the image?
Your question is unclear for the purpose of your request.
If you want to have the image to show in the form, you can only do it from a file so LoadPicture() the image to the form …
Jump to PostYou mean you want to load the picture into the form?
LoadPicture will do this but like I say, VB6 only accepts *.bmp, *.gif, *.jpg but not other formats. It might accepts *.tif images but am not sure.
Still not sure about what you say. Saving is not …
Jump to Posttry the following code, make changes as desired
Dim CN As New ADODB.Connection Dim RS As ADODB.Recordset Dim DataFile As Integer, Fl As Long, Chunks As Integer Dim Fragment As Integer, Chunk() As Byte, i As Integer, FileName As String Private Const ChunkSize As Integer = 16384 …
Jump to PostHere is an example saving image INTO an Access DB -
http://www.vb-helper.com/howto_store_image_in_access_db.html
If this is for a set exercise, and you have to store the image WITHIN the db, then I believe it will …
All 16 Replies
Jupiter 2
0
Posting Whiz
venkatnams
0
Newbie Poster
Jupiter 2
0
Posting Whiz
RobCr
0
Newbie Poster
Jupiter 2
0
Posting Whiz
abu taher
34
Practically a Posting Shark
Jupiter 2
0
Posting Whiz
venkatnams
0
Newbie Poster
debasisdas
580
Posting Genius
Featured Poster
Jupiter 2
0
Posting Whiz
RobCr
0
Newbie Poster
RobCr
0
Newbie Poster
abu taher
34
Practically a Posting Shark
Jupiter 2
0
Posting Whiz
venkatnams
0
Newbie Poster
RobCr
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.