943,706 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Marked Solved
  • Views: 3155
  • VB.NET RSS
Sep 16th, 2008
0

How to create forms without title bars

Expand Post »
i am creating an application in which i require a splash screen. Now the thing is that i want my splash screen to be there without any title bar and frame border what should be the necessary code for it plz provide me with that....
thank you....
Reputation Points: 10
Solved Threads: 0
Newbie Poster
asmit1987 is offline Offline
22 posts
since Sep 2008
Sep 16th, 2008
0

Re: How to create forms without title bars

go to solution explorer > right click your project > click add (i dont have vb at school so not sure but i think its add or it might be add form) > then double click splash screen.

i dont think that has a title bar or a fram border

if it does, go to properties of form and put the "FormBorderStyle" to "none"
Last edited by toko; Sep 16th, 2008 at 12:41 pm.
Reputation Points: 10
Solved Threads: 8
Junior Poster
toko is offline Offline
104 posts
since Aug 2007
Sep 16th, 2008
1

Re: How to create forms without title bars

Use timer to make delay and progress bar.
so, draw a timer and progress bar then add this following code :
vb Syntax (Toggle Plain Text)
  1. Private Sub WelcomeScreen_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  2. Timer1.Enabled = True
  3. End Sub
  4.  
  5. Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
  6. ProgressBar1.Value += 2
  7.  
  8. If ProgressBar1.Value = 98 Then
  9. Dim obj As New Form2
  10. obj.ShowDialog() 'open form2
  11. End If
  12. If ProgressBar1.Value = 100 Then
  13. Timer1.Dispose()
  14. Me.Visible = False
  15. End If
  16. End Sub
Reputation Points: 1182
Solved Threads: 392
Posting Sensei
Jx_Man is offline Offline
3,138 posts
since Nov 2007
Sep 17th, 2008
0

Re: How to create forms without title bars

Sir i asked u what will be the code to create a splash screen in vb.net without any titlebar and any border ..... plz help me with that
Reputation Points: 10
Solved Threads: 0
Newbie Poster
asmit1987 is offline Offline
22 posts
since Sep 2008
Sep 17th, 2008
0

Re: How to create forms without title bars

Just add that code above and set FormBorderStyle = None on form properties to make form without title bar.
Last edited by Jx_Man; Sep 17th, 2008 at 12:20 pm.
Reputation Points: 1182
Solved Threads: 392
Posting Sensei
Jx_Man is offline Offline
3,138 posts
since Nov 2007
Sep 17th, 2008
0

Re: How to create forms without title bars

thank you very much for yur help......
Reputation Points: 10
Solved Threads: 0
Newbie Poster
asmit1987 is offline Offline
22 posts
since Sep 2008
Sep 17th, 2008
0

Re: How to create forms without title bars

You're Welcome...
Don't Forget to mark this thread as Solved
Reputation Points: 1182
Solved Threads: 392
Posting Sensei
Jx_Man is offline Offline
3,138 posts
since Nov 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: Set COLUMN Borders in a datagrid
Next Thread in VB.NET Forum Timeline: Bindind





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC