Link to home
Create AccountLog in
Visual Basic.NET

Visual Basic.NET

--

Questions

--

Followers

Top Experts

Avatar of Jimbo99999
Jimbo99999🇺🇸

VB.net - Form Start Position Upper Left
Good Day

Experts:

I am having trouble getting my forms startup position to be in the upper left corner.  I can get it in the lower right but not the upper left.

Can any one help me out?

Thanks...
jimbo99999

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of Jorge PaulinoJorge Paulino🇵🇹

Can you show us the code you're using ?

SOLUTION
Avatar of Wayne Taylor (webtubbs)Wayne Taylor (webtubbs)🇦🇺

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

ASKER CERTIFIED SOLUTION
Avatar of Mike TomlinsonMike Tomlinson🇺🇸

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.

Avatar of Jimbo99999Jimbo99999🇺🇸

ASKER

Me.Top = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height - Me.Height
Me.Left = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width - Me.Width

Here is what I am using.

Thanks for the help,
jimbo99999

Avatar of Mike TomlinsonMike Tomlinson🇺🇸

...and did you try either suggestion above?...  =)

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of Jimbo99999Jimbo99999🇺🇸

ASKER

Thanks for the help...I used response from Idle_Mind.
jimbo99999

Did anyone get this to work in the lower right, vs. upper left? (0,0) as show as accepted solution is not lower right

found another post that posted this solution.
            Me.Location = New Point(SystemInformation.WorkingArea.Right - Me.Width, SystemInformation.WorkingArea.Bottom - Me.Height)

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.

Visual Basic.NET

Visual Basic.NET

--

Questions

--

Followers

Top Experts

Visual Basic .NET (VB.NET) is an object-oriented programming language implemented on the .NET framework, but also supported on other platforms such as Mono and Silverlight. Microsoft launched VB.NET as the successor to the Visual Basic language. Though it is similar in syntax to Visual Basic pre-2002, it is not the same technology,