Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Missing Image in toolbar

Status
Not open for further replies.

tonioJ

Programmer
Oct 7, 2002
90
PH
I have a toolbar and imagelist.. i loaded the images in toolbar from the imagelist in properties. when i deployed the program in the target pc, the images in toolbar is missing... what should i do with this? any help out there? thank you in advance. by, the way i also tried loading the images programmatically. the source code is below:


Private Sub LoadImagesInToolBar()
ToolBar1.ImageList = ImageList1
ToolBar1.Buttons(1).ImageIndex = 0
ToolBar1.Buttons(2).ImageIndex = 0
ToolBar1.Buttons(3).ImageIndex = 2
ToolBar1.Buttons(4).ImageIndex = 3

ToolBar1.Buttons(6).ImageIndex = 4
ToolBar1.Buttons(7).ImageIndex = 5
ToolBar1.Buttons(8).ImageIndex = 6
ToolBar1.Buttons(9).ImageIndex = 7
ToolBar1.Buttons(10).ImageIndex = 8

ToolBar1.Buttons(12).ImageIndex = 9
ToolBar1.Buttons(13).ImageIndex = 10

ToolBar1.Buttons(15).ImageIndex = 11
End Sub

Pls. help..
 
And can you see the images in your design?

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
There's no such thing as a winnable war - Sting
 
hello chrissie1,

i still couldn't see an image in my design. i don't know what to do now. i'm stuck in finding a way to do it. thanks for your reply.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top