Many times we set icon on form which we dont want, and there is no option to remove, you can only replace it. But sometimes we need to let the default VB icon remain like when we are setting the icon using code. To remove icon from VB6 form, open your form .frm file in notepad and under " Begin VB.Form Form1 " look for " Icon = "Form1.frx":0000 "
Remove this line and save, open your project and VB6 will display an error, now save the project. This will remove the icon.
Note: Be careful while editing files using notepad.
Yes, An Update
-
While I am not as active using VB6 for day to day work anymore, along the
way my colleagues and I have needed to repackage some existing applications
aft...
1 month ago


You can simply select all of "(icon)" text in property browser next to Icon and then press Del or BackSpace.
ReplyDeleteThanks Vlad Vissoultchev.
ReplyDeleteThis was a much better alternative to the other guy Abhishek's solution!