Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem retrieving Image data from SQL Server

Status
Not open for further replies.
Jul 17, 2001
1
IR
I developed an app. with VB6 that scans a document using
KodakImaging Controls, saves scanned image on client's disk in TIF format, reads saved file into some buffer, and finally writes it to a IMAGE field of a table.
For retrieving and displaying saved image above steps reversed.
BUT when I want to retrieve that data from some other client , it doesn't work. The image looks corrupted.
On some clients there is no problem and on others problem exists.
Now I attach the scanner to error making client and repeat scanning and saving procedure.
Now this client and other error making clients are O.K., but previously O.K. clients are in error(image looks corrupted).
I compared good image files to bad ones and found that 8 ascii codes are converted to "?"(&h3F).
There is no apparent difference between clients.
Server OS is WINNT 4.0.
SQL Server version is 7.0
Client OS is WIN98 Arabic.
Prog. lang is VB6.
I checked both DAO and ADO methods.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top