VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



This code will help to insert images in a combobox

by Chirantan Bhattacharjee (6 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sat 4th November 2006
Date Added: Mon 8th February 2021
Rating: (1 Votes)

This code will help to insert images in a combobox

Rate This code will help to insert images in a combobox



Me.ImageCombo1.ImageList = ImageList1
Me.ImageCombo1.Text = "VBCODES"
Me.ImageCombo1.ImageList = ImageList1
Me.ImageCombo1.ComboItems.Add 1, , "VBCODES", 1
Me.ImageCombo1.ComboItems.Add 2, , "VB.NETCODES", 2
Me.ImageCombo1.ComboItems.Add 3, , "ASPCODES", 3
Me.ImageCombo1.ComboItems.Add 4, , "ASP.NETCODES", 4
Me.ImageCombo1.ComboItems.Add 5, , "XMLCODES", 5
Me.ImageCombo1.ComboItems.Add 6, , "C#CODES", 6
'Me.ImageCombo1.ComboItems.Add.Image = ImageList1.ListImages.Item.Index
End Sub



'make sure all the controls are taken in the form.
'Please reply how you like our service
'Please reply to [email protected]


Download this snippet    Add to My Saved Code

This code will help to insert images in a combobox Comments

No comments have been posted about This code will help to insert images in a combobox. Why not be the first to post a comment about This code will help to insert images in a combobox.

Post your comment

Subject:
Message:
0/1000 characters