473,406 Members | 2,698 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How do I set my form start at the right bottom site in any monitor resolution?

How do I set my form start at the right bottom site in any monitor
resolution?
Regards,
Tee

Jun 27 '08 #1
2 1471
Eng,

\\\
Private Sub Form1_Load(ByVal sender As System.Object, _
ByVal ex As System.EventArgs) Handles MyBase.Load
Top = Screen.PrimaryScreen.WorkingArea.Height - Height
Left = Screen.PrimaryScreen.WorkingArea.Width - Width
End Sub
///

Cor
"Eng Teng" <en*****@gmail.comschreef in bericht
news:e6**************@TK2MSFTNGP05.phx.gbl...
How do I set my form start at the right bottom site in any monitor
resolution?
Regards,
Tee
Jun 27 '08 #2
"Eng Teng" <en*****@gmail.comschrieb:
How do I set my form start at the right bottom site in any monitor
resolution?
\\\
Dim BottomRight As Point = Screen.PrimaryScreen.WorkingArea.Size
BottomRight.Offset(-Me.Width, -Me.Height)
Me.Location = BottomRight
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Viken Karaguesian | last post by:
Hello all, I'm taking a shot at table-less design, but I feel like I'm poking in the dark here. I decided to try and recreate the main page of a webiste that I run, www.sayatnova.com, using CSS...
10
by: Gregory A Greenman | last post by:
I'm trying to write a program in vb.net to automate filling out a series of forms on a website. There are three forms I need to fill out in sequence. The first one is urlencoded. My program is...
16
by: David Lauberts | last post by:
Hi Wonder if someone has some words of wisdom. I have a access 2002 form that contains 2 graph objects that overlay each other and would like to export them as a JPEG to use in a presentation....
3
by: Jacob Thastrup | last post by:
Hi This is propably easy to answer but how do I make sure that my controls stay in a certain area of my form. Right now if I maximize my form the controls will stay in their original position and...
6
by: UniSoft | last post by:
Hello, I have created one form in vb.net 2005 and i need its printout on A4 size paper, but its leave some space on top and bottom, i have also tried to increased the size of that perticular...
9
by: pcnerd | last post by:
I created a demo program with a status bar & status bar label on the form. When the program runs, it's maximized. When I move the mouse over the form, I can see the X & Y coordinates changing on...
0
by: zacks | last post by:
On May 2, 11:37 am, "Eng Teng" <engt...@gmail.comwrote: System.Windows.Forms.Screen.PrimaryScreen
1
by: =?Utf-8?B?UmljaA==?= | last post by:
I placed a button on a form menustrip for the purpose of causing the horizontal scrollbar of my form to appear so that I can access controls outside of the form's current view (the controls are...
10
by: =?Utf-8?B?UmljaA==?= | last post by:
A lot of users at my workplace use different screen resolutions, and I build apps to use 1680 x 1050 pixels res by default. But some users are using 800 x 600, and the apps are too large for their...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.