How to add an image to a button.

H

Helene Day

Hello,

I am using VisualBasic.Net 2003 (Version 7.1.3088) with the .Net Framework
1.1, and when I try to add, at design type, an image to a button
(System.Windows.Forms.Button) I keep on getting a popup dialog with the
error: "Invalid Parameter used". No matter if I tried a 16x16 or other size,
I keep on getting the same error.

I get the same error adding icons to an ImageList.

I am puzzle. Any suggestions?

Helene
 
H

Herfried K. Wagner [MVP]

Helene Day said:
I am using VisualBasic.Net 2003 (Version 7.1.3088) with the .Net Framework
1.1, and when I try to add, at design type, an image to a button
(System.Windows.Forms.Button) I keep on getting a popup dialog with the
error: "Invalid Parameter used". No matter if I tried a 16x16 or other
size, I keep on getting the same error.

I get the same error adding icons to an ImageList.

What's the file type of the icons you attempt to add?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top