473,403 Members | 2,071 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,403 software developers and data experts.

Problem maximizing form window at runtime

1
I'm having some trouble getting a form window to completely maximize at run-time.

I am using the following code in the form load event:
Expand|Select|Wrap|Line Numbers
  1. Me.WindowState = FormWindowState.Maximized
  2.     Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None
  3.     Me.TopMost = True
  4.  
I've used this successfully many a time, but for some reason when I run this program the form does NOT maximize on the screen. It only covers a miniscule portion of the task bar (but is still borderless).

I've also tried setting the property to Maximized in the properties menu of the form design window. No luck.

How can I fix this issue? Is there another way of setting the form to maximize?

Thanks!
Oct 21 '13 #1
0 1077

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: Tom | last post by:
Hi all, I am a newbe to javascript so I could use your help. I checked the FAQs and searched google but I could not resolve this problem. My form is as follows: <form...
2
by: Lentdave67t | last post by:
Thank you in advance for any help you can provide. I am writing a C# program that checks to see if the URLs of favorites/bookmarks are still good. The problem I am having is that while the...
1
by: Sagaert Johan | last post by:
What is the cleanest and most efficient way to move a button or picture around the form at RUNTIME ? I want to achieve similar results like the form designer at design time. Johan
2
by: Theodoros.Savvides | last post by:
Hi All, We are developing an application and we have a problem for which I cannot find any information anywhere. The application consists of a windows user control and an ASP.NET application...
10
by: morangolds | last post by:
Hi, I've been having a problem with C++ Windows Forms apps not "ending" when you close the form window. I've searched about this problem all over the place and most searches have lead me to...
3
by: toddw607 | last post by:
Hello All, I am using Access 2003 and when I view a report from a form and close the print preview window for the report to return to the form the form window shifts from being...
3
by: kannabiran | last post by:
Hi, I used this below code to maximize window its works fine..but the maximixe icon it doesnt changed its remains as the single box alone..i need a box overlap icon while maximizing the...
1
by: ton | last post by:
Hi, I want to add several textbox to my form during runtime: the code is very simple Lab = New TextBox Lab.ID = "A" & i Lab.Height = 200 Lab.Visible = True Lab.Text = "test"
1
by: marciojersey | last post by:
Hi everyone. I'm having a problem with form opacity in my c# application. I have a window with a vrml viewer com control and whenever the window goes into layered mode, the vrml viewer is rendered...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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.