You used OLE object in MS Access in your sample code.
What data type will you use in MySQL?
Please show us some code snippets in saving an image to/restoring an image from MySQL database in GDViewer Pro ActiveX
How to save images in MySQL
Re: How to save images in MySQL
Probably Blob. I am not an expert in MySql...You used OLE object in MS Access in your sample code.
What data type will you use in MySQL?
GdViewer Pro can only open image. It has not the hability to save. To write image you ca use GdPicture Light or GdPicture Pro.Please show us some code snippets in saving an image to/restoring an image from MySQL database in GDViewer Pro ActiveX
To read I suggest you to find a way to store the content of a BLOB field of an sql table to an array of bytes.
Then, you will be able to open the image with GdViewer from this array using the DisplayFromByteArray() method.
Loïc
Who is online
Users browsing this forum: No registered users and 2 guests