473,406 Members | 2,633 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.

Displaying Form on Second Monitor

3
I'm trying to write an application in VB.NET that displays a single form on a second monitor only. So far, I've discovered that I can only have forms that are created during runtime (programatically) display on the second monitor. The form that I create and design within the development environment will only display on the primary monitor. I understand that I need to set the bounds of the form to the bounds of the secondary display, but the form still displays on the primary monitor. Am I missing something?

Any advice would be greatly appreciated!
Sep 28 '07 #1
2 2445
BrianT
3
I found out how to achieve this. I set a code module to be the startup object rather than the form that I was trying to display on the second monitor. I set the bounds of the form from within the startup module.
Oct 4 '07 #2
Shashi Sadasivan
1,435 Expert 1GB
Glad you found a way out of that.

cheers
Oct 4 '07 #3

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

Similar topics

5
by: TG | last post by:
Dear PHP Group, I have two forms that are used to collect user information. The first one takes user inputted values such as fullname, city, address etc. I want these values to display in the...
4
by: Xiphias | last post by:
Hi, Hope you can help me on this... I got 1 form with a sub form. On this subform there are only parts of records, so you can select the one you want to edit. When you dubbel click that...
2
by: Barry | last post by:
Hi why does the following code not display the image public Form1() { InitializeComponent(); Bitmap imgBg = new Bitmap("Monitor.bmp"); Graphics gr = Graphics.FromImage(imgBg);
0
by: Martin Dew | last post by:
I have an app where I am docking my MainForm to either the left or right of the Primary Monitor. How can I set the Forms current Monitor to be a different one from the .Screens Collection ? I...
0
by: Ian Rutherford | last post by:
I'm currently trying to do something with VB .net that I'm having a lot of difficulty with. Basically, I need to be able to display a form on any monitor I choose. So, I have to enumerate all...
1
by: mentu | last post by:
Hi, i have an acer aspire with nVIDIA GeForce Go7300 that support a dual-monitor. I use the monitor of the laptop and a projector. I try to develop a software that open a form on second monitor....
2
by: Torgg | last post by:
OK guys I’ve got a question for you. I’ve developed a small knowledge base app for the software I support and it’s comprised (essentially) of two forms (not MDI). The first form (frmMain) is where...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...

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.