vb.net - Ctrl plus Alt makes Visual Studio hidden form appear -
i want application run in system tray, antivirus software , such. form should not visible. use following code hide form on startup:
protected overrides sub setvisiblecore(byval value boolean) if not me.ishandlecreated me.createhandle() value = false end if mybase.setvisiblecore(value) end sub
that works fine. however, when press both ctrl , alt keys on keyboard, form appears. google makes seem first 1 have problem. hope not. how can make form truely hidden?
set application's formborder "fixedtoolwindow" (or this, try all; worked me, can't remember right formborderstyle)