ToolBar Image problem

PlayKid

Freshman
Joined
Jun 25, 2005
Messages
38
Dear all,

I am trying to make a toolbar with images, such as the one which is on IE, but no matter how I do, the image is not appearing.
I have created ImageList, and have linked to the ToolBar properties, I can see the image when I am on the design phase, but after I run the program, the image is disappeared.
Can anyone tell me why it do that?

Thanks

PlayKid
 
It must be the styles...

Start your application using the sub main, and then, before calling the Application.Run, call:

Application.EnableStyles()
Application.DoEvents()


This will do it...

Alex :p
 
I encountered the same problem at one time. All the images were being displayed at design time but were blank at run time. An easy way to correct this is to delete your entire bin folder and rebuild the application. Try it out and let us know.

-=Simcoder=-
 
Back
Top