>Dangerous eh? VMP4 .setIcon() sets to (1) the applications icon or (2) a blank icon. If I don't want one of these 2 icons that I set it my self. Where is the danger in that? If I was doing some type of blind data manipulation then I think it would be different.
I only meant dangerous in the sense that you applied a band-aid fix to something without knowing why it was working the way that it does. If you had known that VMP uses the SetIcon method, you could have simply overridden that method in the form instance, but instead you put code in a method that could run any number of times during the form's life, potentially incurring an unnecessary performance hit.
I don't mean to sound harsh- sometimes methods like you used seem like the easiest way out and seem therefore to make the most sense. I've used them myself, I just wanted to caution against recommending blind fixes to others.
Erik Moore
Clientelligence