Hi All,
When we create new windows application there appears a default form
without any controls , it shows a caption as "Form1" in blue bar ,
could any one tell me how can i hide that part through program , i am
using vb .net 2005 ( meaning i don't want to show the controls like
close,minimize button in the form ,it should be a clear form)
Thanks in advance
Sajin
Chris Dunaway - 31 May 2006 16:42 GMT
> When we create new windows application there appears a default form
> without any controls , it shows a caption as "Form1" in blue bar ,
> could any one tell me how can i hide that part through program , i am
> using vb .net 2005 ( meaning i don't want to show the controls like
> close,minimize button in the form ,it should be a clear form)
If you look in MSDN for the documentation of the Form class, you will
find the FormBorderStyle property.
Steve, Putman - 31 May 2006 19:45 GMT
Make the Form-ControlBox property as false
and Form Text property as empty string
Steve
> Hi All,
>
[quoted text clipped - 6 lines]
> Thanks in advance
> Sajin
FUnky - 01 Jun 2006 05:53 GMT
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
sajin - 01 Jun 2006 07:35 GMT
Thanks alot it works fine
> this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;