Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,665 members, 7,820,336 topics. Date: Tuesday, 07 May 2024 at 01:17 PM

Help On Vb6 - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Help On Vb6 (957 Views)

Login Code In Vb6.0 / Install Vb6 Application On Android / Help me convert this Vb6.0 code To Vb.net (2) (3) (4)

(1) (Reply)

Help On Vb6 by youngdee168(m): 4:21pm On Jul 20, 2012
Hi everyone am currently working on my project using vb6 and access database, i need code on how to save an image and later retrieving it when needed, i've got the code for uploading images during runtime, the problem is when am retrieving the records (searchng using a primary key) the image control (field) is always empty.
Re: Help On Vb6 by wildguy(m): 12:59am On Jul 22, 2012
U need to convert d img to an array of bytes. Den pass it as a parameter to d DB. When u also retrievin u need to convert d image from bytes to image format.



If u were using sql server u could jus save it directly as image without conversion and without much problems.

1 Like

(1) (Reply)

From The Trenches: How Dropbox Solves Their Scaling Problem... / How To Start A Programming Career / How To Complete Your Facebook Friends In Two Weeks.(migrate To Facebook Famous)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 7
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.