Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Posted

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

Software bugs are impossible to detect by anybody except the end user.
Posted

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=-

Whatever thy hand findest to do, do it with all thy heart - Jesus

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...