Image Viewer CP ActiveX Control

WriteBinary

 

Write binary data types for storage of images embedded in the database table. e.g. Access, SQL Server, Oracle, MySQL.

Public Function WriteBinary(
    ByVal pField as UnKnown
    ) as Boolean

 

 Parameter
pField
the field of olefield.
 
No Return Value


Example

   

Visual Basic Syntax

ImageViewer1.FileName="c:\test1.jpg"
ImageViewer1.WriteBinary Recordset.Fields("pic")