Sample Program Source Code - Standard VB Controls


Pre-requisites

You will need Microsoft Visual Basic 6.0 in order to view the sample program source code.


Features and Functions

The sample program illustrates the use of the standard Microsoft Visual Basic PictureBox control to develop an image-enabled application. The sample program allows the user to navigate to the location of an image file to be displayed. It also demonstrates the AutoSize property of the PictureBox control.

The PictureBox control in this sample program can be replaced with the Image control. However, if this is done, the AutoSize property (PictureBox control) in the code has to be replaced with the Stretch property (Image control).


Program Screen-Shot

 




Sample Program Source Code


The Ilixis Developer's Corner is providing a service to developers by providing the source code of a sample Visual Basic program using the standard Visual Basic controls.

Publish date: 1st December 2003
Published by Ilixis Developer's Corner

This sample source code illustrates the use of the standard Microsoft Visual Basic PictureBox control to develop an image-enabled application using Microsoft Visual Basic. The Ilixis Developer's Corner does not warrant that this program is bug-free. This sample program source code is for guidance and illustration purposes only.

Download Program Source Code (Zip file - 3 Kb)

The zip file contains 1 project file and 1 form. Unzip the downloaded zip file and double-click on the Visual Basic Project file. You must have Microsoft Visual Basic installed in order to view the sample program code.

Developers are allowed to freely redistribute the sample with the condition that the sample is distributed without any modifications and due recognition is given to the Ilixis Developer's Corner.




 


  Developer's Corner
 
Introduction
Imaging Toolkits
TWAIN
Image Formats
Color Spaces
Auto Recognition
Useful Links
VB Controls
Sample Code