Question Default Form Icon?

GeekDrop

Well-known member
Joined
Dec 14, 2006
Messages
161
Location
Chicago
Programming Experience
10+
Weird question, but, anyone have a copy of the actual .ico that gets added to forms if you don't add your own? The one that looks like this?

Clipboard_Image_(6_March_2017).bmp.png

I've Google'd, Resource Hacked, searched my pc's, everything, and for the life of me, can't just find the icon itself, lol.
 

JohnH

VB.NET Forum Moderator
Staff member
Joined
Dec 17, 2005
Messages
15,334
Location
Norway
Programming Experience
10+
You can save it to file like this:
        Using fs = IO.File.Create("default.ico")
            Me.Icon.Save(fs)
        End Using

It can also be found as resource in System.Windows.Forms.dll (...wfc.ico)
 

GeekDrop

Well-known member
Joined
Dec 14, 2006
Messages
161
Location
Chicago
Programming Experience
10+
Now why didn't I think of that? :black_eyed:

As always, you da man, JohnH. Thanks!
 
Top Bottom