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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

set icon on form by code 1

Status
Not open for further replies.

emmanuelbeaudet

Programmer
Apr 16, 2002
51
0
0
CA
I'm trying to set the form icon using code with vb .NET

me.icon = ????
or something else ???

It worked fine when I set the pictures on the buttons but for the icons...

Thank you
 
Dim ico As New Icon("C:\myicon.ico")
Me.Icon = ico
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top