Home
DBPix
Download
Order
Testimonials
Support
Tutorials
Samples
KnowledgeBase
Links
Revision History
Documentation
Search
Contact
Site Map

Graph: DBPix image storage vs OLE Embedding and Linking in Microsoft Access


VB.Net Image Database Data-Binding sample

Binding Images, Photos & Pictures to a binary database field in VB.Net, using the DBPix Image Control.


Download Sample   423 KB (Requires DBPix)

Download DBPix  3.7 MB ( About DBPix )


Screenshots

sample screenshot - VB.Net Image Database Data-Binding sample - bound photo database

System Requirements

DBPix Image Control version 2.0 or later
Visual Basic.Net (runtime &/or development environment)

Installation

Download and install the DBPix control, using the developers kit link at the top right of this page (if not already installed).
Download the sample and extract the Zip file.

Walkthrough

Run the file VBSimpDotNet.exe in the bin folder.
The form shown in the screenshot above is displayed. Click the buttons to navigate through the records. Right-click on the DBPix control to see available tools, eg Load an image, view EXIF info, rotate etc. Create a new record by clicking 'New', then add an image - use the context menu to load/paste/scan, or simply drop a file.

Technical Overview

This example uses the standard VB.Net Simple Data Binding model. For a detailed example of this see the following resource:
http://www.startvbdotnet.com/ado/simplebinding.aspx

Once DBPix is added to the toolbox in your development environment you can use it like standard bindable controls. To set the bindings expand the (DataBindings) property and click '...' next to (Advanced) to display the 'Advanced Data Binding' dialog. The property to Bind is 'Image'. Note that VB.Net doesn't seem to allow selection of a binary field in the drop-down list of bindings, but you can select an adjacent field then correct the field name.

000000000000000000000000000000000000000000000000000000000000000000000