icon

L

Leo

i tried to create an icon in my form using the designer and the icon is just
not showing ?

i tried the following commands
Dim ico As New System.Drawing.Icon("c:\temp\tst.ico")
Me.Icon = ico

but it didnt work either.

thanks for your help
 
J

Jan Tielens

Can't you use the Icon property at design time, in the properties window?
Over there you can select an icon from your hdd.
 
H

Herfried K. Wagner [MVP]

* "Leo said:
i tried to create an icon in my form using the designer and the icon is just
not showing ?

i tried the following commands
Dim ico As New System.Drawing.Icon("c:\temp\tst.ico")
Me.Icon = ico

Should work. Does it work if you set the icon at design time?
 
L

Leo

Should work. Does it work if you set the icon at design time?

Nope, does'nt work either ...
 

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