Wednesday, 27 April 2016

Visual Basic 6.0 Tutorial: ImageCombo and ImageList-Display Image with C...

Learn Visual Basic 6.0 Tutorial-Working with ImageCombo and Image List-Display Image with Combo items in the Combobox-Step by Step
Add Microsoft Windows Common Control 6.0 .
Add ImageCombo onto the form from Toolbox.
Use ImageCombo Add Method
I am using Only Two Parameter of add method i.e TEXT and IMAGE for displaying the Image in the combobox.
To display Image Left to Comboitems in the Combobox
 *Add Imagelist Control onto form.
* Add Images into the Imagelist.
* Assign the Index value of Pictures in the Imagelist to the IMAGE parameter of the Add Method of the ImageCombo Control.

its done!!!!.

Private Sub Form_Load()
Set ImageCombo1.ImageList = ImageList1
ImageCombo1.ComboItems.Add , , "Administrator", 1
ImageCombo1.ComboItems.Add , , "Staff", 2
ImageCombo1.ComboItems.Add , , "Office Assistant", 3
ImageCombo1.ComboItems.Add , , "Librarian", 4
ImageCombo1.ComboItems.Add , , "Store Keeper", 5
End Sub

Private Sub ImageCombo1_Click()
Text1.Text = ImageCombo1.Text
End Sub

Here is my updated List of Tutorials.
Create,Save,Update,Delete and Search Student Profile
Advance Login System (Splash Screen with Progress Bar,User Registration,Login system,WElcome )
Add Delete Update Search
Data Report in VB6
Data Manager in VB6
Create Tool Bar,Status Bar and Menu Bar
Common dialog control- Font and Color Dialog
Search Records in Database (By Name or ID)
Login Form using Visual Basic 6.0
Add Delete Update and Clear records
Simple Visual Basic Database  Application
Design Font Dialog Box in VB 6
Road Traffic lights Animated system
ListBox Control( Advanced)
ListBox Control -Add,Delete and Clear items
Custom Progress Bar with percentage completed on Splash Screen
Frame Control,Check Box and Option Buttons
Picture Viewer+Browser in Visual Basic
Splash Screen with Progress Bar-
 Create Menus,Drop Down Menus ,Nested menus in Menu Bar

for more about  Visual Basic tutorials,please visit
Youtube Channel:
Computer Gyan Blog:

Please Share | Support | SUBSCRIBE

Don't forget to hit LIKE button,if you like my work.