Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vb.net ScreenDocking 1

Status
Not open for further replies.

DotNetBlocks

Programmer
Apr 29, 2004
161
US
Hello,
How can i set an exe so that it is perminaly docked at the top of the screen and can never be hidden. I am trying to do some thing like a news ticker in vb.net 2005.
 
Would this work:
Code:
Me.Location = My.Computer.Screen.Bounds.Location
Me.Width = My.Computer.Screen.Bounds.Width
Me.Height = 200
Me.TopMost = True

[blue]_______________________________________[/blue]
Business Logic:"AND when tweetle beetles battle with paddles in a puddle, they call it a tweetle beetle puddle paddle battle AND..." - Dr. Suess
 
And also add
Code:
Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None

That shoud do the trick

[blue]_______________________________________[/blue]
Business Logic:"AND when tweetle beetles battle with paddles in a puddle, they call it a tweetle beetle puddle paddle battle AND..." - Dr. Suess
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top