Control Multiple Monitors From My Application?

Aug 11, 2009

I have build custome windows in my application with cust contorl box on the top right corner. Minimimize, maximaize and close button are made by me.

I want to make another button beside that one which will control displaing of windows in multiple monitors environment. So, cllick on that button will list monitors and I send that window to second monitor.

View 2 Replies


ADVERTISEMENT

Multiple Monitors Launching?

May 15, 2010

I have a dual-monitor setup. When I launch the main program, I need to make sure that it always launches in "Screen 1". I have a button within the program that launches another fullscreen window and I need this to always launch in the next available screen (read: not covering the main program window)I am using the System.Windows.Forms.Screen class to try to accomplish this and have have had about 80% success. I can successfully test for multiple monitors (which enables the button). When they click it, I can get it to always launch in the second screen. The problem I'm encountering while testing is the main program is launching in Screen 2, so the second window covers it.

Here's what I'd like to accomplish ultimately: I would like to always launch my program in Maximized stated (and disable resizing,
minimizing/maximizing is ok, just not double-clicking titlebar to resize) in the primary monitor (where Taskbar is being displayed). Then, when the button within the program is pressed, it launches the new window in the NEXT available monitor in Maximized stated.

View 15 Replies

Multiple Monitors With Forms?

Jan 16, 2012

have a question. The scenario is this Main monitor (17 inch) is used for POS system.Will have at least 2 more monitors (50 inch tvs used for digital menu)I want the main pos program to be able to set what is written there (easy on a form) but have different forms to ALWAYS go onto one of the tvs (they would be plugged in via VGA).

I have read some examples but I havent seen anything with different size monitors.How can i ensure that the main program runs on the 17 inch screen while the 2 forms of the menu will display on tv1 and tv2 and the same tv each time?

View 3 Replies

Show Same Form On Multiple Monitors?

Aug 13, 2010

I am creating a Jeopardy type game and I want to be able to have the same form show on multiple monitors at times and at other times show a form only on one monitor. I have no problem getting a form to show up on the second monitor, but when I try to show the same form on multiple monitors I run into problems.[code]...

View 3 Replies

Calculate Display Size For Multiple Monitors?

Sep 23, 2011

I'm trying to calculate the size of multiple monitors together, like the display size. This is an example of what I am talking the Size of the Virtual Screen"). I tried the code, with no luck. The WinAPI didn't seem to do anything, but take space in my code edit

View 1 Replies

Detecting Multiple Monitors & Centering Different Forms?

Oct 25, 2009

Basically, I have a program that uses up one Monitor (With maximize/minimize/etc options), and I'm going to develop another window that by default, you'll have to swap to. But, if there are two or more monitors detected, throw the 2nd form on the 2nd monitor.

I have found a way to detect multiple monitors (Using the SystemInformation Class to return the monitor count), but it's placing the form on the other monitor that's the problem.

View 2 Replies

Determine Local Screen Resolution When Using Multiple Monitors?

Feb 4, 2011

I have an application that produces a form whose objects are scaled to the width and height of the primary monitor whose parameters are obtained from:

Dim ScreenWidth As Integer = Screen.PrimaryScreen.Bounds.Width
Dim ScreenHeight As Integer = Screen.PrimaryScreen.Bounds.Height

So far, the program works fine. A possible problem arises when multiple monitors are being used that do not share the same resolution. For example, if the 2nd monitor has a low resolution, then the form is cut-off.

I'd like to:

1.) determine that more than half the form has been moved to another monitor

2.) determine the resolution on the second monitor.

I suspect that the following command will give me all the dimensions that I need:

Dim ScreenWidthUsed As Array = Screen.AllScreens

In which case I just need to determine the screen that is hosting more than 1/2 the form.

View 3 Replies

VS 2008 Multiple Monitors - Detect And Save Configuration

Oct 24, 2011

New to these forums but have been a lurker for a while. I searched through some "multiple monitors" threads but didn't find anything that fit my current issue, so I figured I'd pose it in a new thread. We have users with 4 monitor setups that are very particular about their screen settings. When we have to replace a PC for whatever reason, it is always a hassle getting their screen configurations the way they were prior to the switch. Is it possible to create a small VB app that will scan their current configuration, save a "settings" file, and re-apply the settings on the new PC? What I mean by configuration is screen resolution, setting the primary monitor, etc. Theoretically this sounds like it can be done, but I wanted some opinions on it.

View 1 Replies

Maximized Window Size - For Multiple Users (Computers/Monitors)?

Dec 13, 2009

Maximized Window Size - For Multiple Users (Computers/Monitors)

View 1 Replies

Maximized Window Size For Multiple Users (Computers / Monitors)

Jul 12, 2009

Say you have a form that is designed to be maximized on startup. Now, on the programmer's computer (mine), it looks good. But going from user to user, the dimensions of monitors, as well as the resolution each user has on their computer/monitor will vary.Here is the question: If you want to have an application designed to be in a maximized window, how do you ensure that it looks the same on each and every computer/monitor that will be using it. Controls, and everything else that would normally be on the form.

View 5 Replies

System Tray Icon Not Appearing When Using Multiple Monitors (shell_notifyIcon)?

Aug 9, 2010

My program runs and loads an icon into the system tray, the only way to them open the main MDI is to right click on the icon in the system tray and choose an option from the pop up menu shown. This all works nicely when there is only 1 monitor. As soon as you run this program on a computer with 2 monitors the icon does not show in the system tray.What do I need to do to make it work in this situation. I use shell_notifyIcon API

View 1 Replies

VS 2008 Changing Computer Monitor Size Of Multiple Monitors?

Jun 28, 2010

Now this program will only be used on systems that I produce, and send out. I need to make sure that for any monitor that these people use it will always be at the standard resolution of 1440 x 900..

I have tried setting up profiles with catalyst control panel, but if you plug in a different monitor to the one that was plugged in when you made the profile it wont recognise the screen and the system wont run properly.

So I wanna see if I can change the resolutions of the screen that will be plugged in the monitor slot and also if possible make sure the other extended screen should there resolution of 1024 x 768..how much control can you get over the monitors that are plugged in?

View 3 Replies

Write An Application That Monitors Internet Usage?

Mar 11, 2010

I am trying to write an application that monitors internet usage. So it sort of needs to act like a firewall/proxy, recording each site the computer goes to. It will record all these sites in a log file. Using a proxy server on the network is not an option, each computer running this software needs to be self sufficient. Do you have any suggestions on what to use for this project?

View 1 Replies

Primary Monitors Says Command Line Inter Face Has Stoped Working When Try To Ope Catalyst Control Center?

Feb 15, 2010

catalsyt control center can not be open im monitor display, the warning says command line intrface has stoped working already try to downlowload new dr

View 1 Replies

Saving Window Size And Position Multiple Monitors Toolbar Position Etc.

Aug 24, 2009

I have looking for a tutorial or class that demonstrates more than a trivial example of saving a windows position on closing. The ones I have found don't seem to work on all systems because of:

1. Multiple monitors. (and resolution between those monitors)

2. Toolbar size and position (toolbar is only on the primary monitor, well sometimes)

3. Sometimes the programs dont open on the right monitor they were closed on.

Is there an extensive class or tutorial on all the stuff a programmer needs to get right to have a window size and position persisted between executions?

View 1 Replies

VS 2008 Write A Small Application That Simply Monitors Website Watching For Specific Hyperlink Text To Appear?

Feb 11, 2010

I am trying to write a small application that simply monitors my web site watching for specific hyperlink text to appear. I have been searching around and trying different approaches for a few days and have to accept defeat on this.Basically I need to be able to type in part of a hyperlink or the actual text of the hyperlink into a textbox to be watched for. When it is seen it opens the link in a new window.

Dim theElementCollection As HtmlElementCollection
theElementCollection = WebBrowser1.Document.GetElementsByTagName("a")
For Each curElement As HtmlElement In theElementCollection

[code]....

View 1 Replies

File System Watcher - Application That Monitors A Specific Folder For File Changes Such As Modify Deletion, Update

May 4, 2011

I am developing an application that Monitors a specific folder for file changes such as modify deletion, update, etc. The only problem I have is , the application doesn't fire up File events.

Here is the code:

Imports System.IO
Imports System.Diagnostics

Public Class Form1

[CODE].............................

View 8 Replies

Making An Application That Uses Multiple WebBrowser Controls And Multiple Proxies?

Dec 17, 2009

I am making an application that uses multiple WebBrowser controls, and multiple proxies.The code for changing the proxy settings are as such:

#Region "Proxy"
Public Structure Struct_INTERNET_PROXY_INFO
Public dwAccessType As Integer
Public proxy As IntPtr

[code]....

Note: getRandomProxy gets a random proxy from a list.Problem is that whenever RefreshIESettings(getRandomProxy()) is applied, the proxy will be applied to all of the WebBrowsers, while i would need to have a unique proxy for each WebBrowser. Not having this would just error out the page in the other browsers and so on.

View 1 Replies

.net - Store Application And User Settings Of An Application Running With Multiple Instances?

Jul 12, 2011

Which is the best way to store application and user settings of an application running with multiple instances?My problem is that using the vb's "Application Settings" one instance would overwrite the other one.I want to identify each instance with a number passed via command line argument. I could use this number to identify the appropriate settings of the running instance, but I see in a local INI o XML file a better way to handle that.

View 1 Replies

MessageBox And Dual Monitors?

Aug 10, 2010

If a form is being displayed on the secondary monitor, is there a way to make sure that a MessageBox generated by that form will display back on the primary monitor? The form is being displayed over a projection system and some messages do not need to be seen by the audience, just the computer operator.

View 1 Replies

VS 2008 - How To Disable Monitors

Oct 4, 2009

What im trying to do, is have my program run full screen on the primary screen, and diable all other screens. I have it 'full screen' and constantly on top of everything with this

Dim b As Boolean = _
SetWindowPos( _
Me.Handle, _

[code]....

It is in a timer, so its always on top. how do i turn off, or disable all other monitors, besides the primary screen. (How do i check if they have other monitors, and if they do, how many, and disable them all, with exception to the primary screen.)

View 19 Replies

API Or Similar To Set Active Displays(monitors)?

Apr 27, 2010

Basically I'm trying to change the both if one display(monitor) is active and either turn off all active to displays to one display or change to extended display. Is there any api or similar to do this? My target OS is Windows 7. I'm making a program that can change one active display to having extended displays and vice versa. d. I use Visual Studio 2008 Professional or 2010 Ultimate Beta 2 with Visual Basic Settings.

View 1 Replies

Controling Which Monitor When Dual Monitors

Oct 27, 2011

I just got this really cool 9" monitor (USB attached) which I will be using for dialogs in my vb application. Can someone tell me why this code displays on both machines? if I change screen=AllScreens(1) to (2) the form is only shown on the primary but I want to show it on the very cool USB screen.

[Code]....

View 3 Replies

VS 2008 Scaling The Screens For Different Monitors

Mar 5, 2010

I am new with VB.NET 2008 and I would like to know how to make a project so the forms will show correctly on various sizes of monitors. Do you have to put code in every form for this?

View 1 Replies

Addressing Individual Monitors In Dual Screen?

Jul 8, 2009

I am working on a custom bulletin board system for my company. The idea is to have a program running that displays a full screen bulletin board on many monitors around our facility. I wrote a VB client that pulls from a server and displays a single board perfectly - I am wondering how to expand this.

View 10 Replies

How Can It Full-screen If The Computer Has Dual Monitors

Nov 5, 2009

i've managed to have the form in fullscreen.. How can it fullscreen if the computer has dual monitors?

.MaximizeBox = False
.MinimizeBox = False
.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None
.WindowState = System.Windows.Forms.FormWindowState.Maximized

View 2 Replies

Make My Forms Fit Varying Sizes Of Monitors?

Jan 5, 2012

I am looking for a way to make my forms fit varying sizes of monitors. I am guessing that I need to determine the screen size.

View 3 Replies

Program That Runs In Background And Monitors USB Ports

Oct 10, 2011

I am looking to write a program that runs in the background that monitors the USB ports on a PC. If a specific device gets unplugged I want a message box to come up saying so. Is this possible. I am guessing I would need to query the usb devices for their ID and then write a simple If then statement, however I do not know how to get the IDs of the usb devices.

View 7 Replies

Stopwatch And Monitors - Defining Program Parameters

Aug 13, 2011

If at all possible, how can my app detect the number, physical location, and size/resolution of monitors in use so as to define the program's parameters? Secondly, I have created a stopwatch variable ("Count"). I can't seem to get it to function properly unless using full seconds. In the following code, I have tried to use a fraction of a second (like .5) and using "count.elapsed.milliseconds = 500" and the program doesn't act like the code is even there...

Code:
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
If count.Elapsed.Seconds = 1 Then
Run()
End If
End Sub

View 15 Replies

VS 2010 Detect All Touch Screen Monitors?

Oct 4, 2010

I recently bought this multi-touch monitor (writing on it right now :P), and am creating an application for it. Now I need to detect which screens are touch-enabled. For example, I have the touch screen as my main monitor now, but I also have a secondary regular screen, I need the aplication to be able to detect which monitor has a touch screen, EVEN WHEN THE TOUCH SCREEN IS THE SECONDAY NONITOR!

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved