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


ADVERTISEMENT

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

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

MessageBox In Visual Basic Express 2010 Open Form3 From MessageBox?

Mar 28, 2011

From my login form, and when a correct Username and Password has been succesfull and I get a messageBox saying "welcome to your System" (Picture Below) and when I press the OK button in that MessageBox, I want to open Form3.do I add code to the Underlined code (below Picture), or Do I write a completley different code after the messageBox code.

[Code]...

View 5 Replies

.net Timer With Windows 7 Dual Processors?

Apr 14, 2010

I have been writing visual basic and vb .net applications for years and have come across this problem with the timer component under Windows 7 32bit on dual core Intel processors. This problem only occurs with Windows 7 running on a dual core processor, single core and under the virtual pc on any processor works.

I have attached a test program to show this problem. The program uses 2 timers to count down to 0. It does not matter what type of timer component I use system.timer.timer or system.windows.forms.timer. I read the system.timer.timer may fix this problem so I changed the program to use it but it did the exact same thing. Left it in anyway.

The program: Timer1 is set to a number of ms for a given amount of time say 150000 for 150 seconds and started. The timer will expire correctly. At the same time a second timer Timer2 is set to 1000 ms for a count down display to 0. Timer2 fires and the count is updated. This happens and everything looks fine. When Timer1 fires I disable timer2 so it will stop counting down. Timer2's countdown is at 2 instead of 0. It is firing slow. If I increase the value of timer1 to say 500 seconds timer2 is behind by 6 seconds. These amounts are the same for the 2 very different computers I ran this on but both are dual processor systems running Windows 7. The exact code works correctly on Windows Xp on the same processors and works under Windows 7 on a Pentium 4 system.

[Code]...

View 16 Replies

Dual-purpose Cut/Copy/Paste ?

Jul 19, 2010

My app displays a list of records in a DataGridView on the main form. I've developed code for cut/copy/paste for the selected records and have put the code behind Cut/Copy/Paste menu items under a classic 'Edit' menu design, with the standard shortcut keys(Ctrl + X, Ctrl + C, Ctrl + V).

The trouble is, I also want the shortcut keys to work on selected text when I'm editing inside text fields on a record in the DataGridView. So I need the shortcut behaviour to change depending on whether I'm editing a record or selecting record(s).

View 5 Replies

Make Dual Monitor Intergration

Feb 8, 2012

I have a form1 and many other sub forms in my software.I want all those forms to work on a 2nd monitor (if the user does have a 2nd monitor)while working on my 1st monitor as well.But i don't have 2 monitors in my system hence i cant test this feature out.But dual monitor integration is a very important part of my software.

View 1 Replies

SELECT CURDATE() FROM Dual [Error]

Sep 15, 2009

The command works but im getting an incorect time It returns 15/9/2009 12:00:00 the date is fine (was ok when this thread was written)but the time is always the same 12:00:00 Is something wrong with the server or am i entering not the right command?

View 1 Replies

Single Display Vs. Dual Clone

Nov 11, 2010

Is there a simple way to differentiate single display vs. dual display clone? I am asking about dual clone, not extended desktop. .Net Screen class treats dual clone as single display. I could not find useful WMI method also.

View 6 Replies

VS 2005 Dual Display Support?

Jun 16, 2009

Is this possible in VB 2005? Mirroring or extending over a second display?

View 2 Replies

Dual Listbox Mover Type Control?

Oct 30, 2009

I need a 2-listbox mover/selection type control such as the example here: [URL] For over a week now I've searched countless forums and done myriads of googles. All I've been able to find is C++ or ASP based stuff. I really would like this to be VB.net, but at this point, I'd even settle for C#.

I've taken a shot at developing it myself, but am too new to the .Net world to really get anywhere with it other than being completely overwhelmed and frustrated. I've even looked at some 3rd party custom control webistes, and am even willing to spend a few bucks for this thing, if I could find one that suits my needs.

[Code]...

View 6 Replies

Dual Monitor Support After Gfx Driver Update

Sep 28, 2009

I've got a dual monitor setup, my main monitor is a Dell 20" 1680x1050 res, secondary is a Dell 17" 1280x1024.I've just updated my gfx driver (nvidia driver version 190.62).I'm using code like that shown below to get the screens and I always assumed that AllScreens(0) would be the primary screen and AllScreens(1) would be the secondary but this appears to be reversed since I updated my driver.

[code]...

Is my coding in error or is Windows reporting the screen information wrongly ? How can I be sure to set AllScreen(0) as the users primary screen and AllScreens(1) as their secondary ?

View 1 Replies

Dual Monitor With Touchscreen Browser Control?

Jan 21, 2012

i am looking for a way to make a clone of 2 webbrowsers when i make a click in the first webbrowser it shows the same in the second webbrowser

detailed:i am making a program with a touchscreen and a hdtelevision setup as extended monitor at the touchscreen you can control what is happening on the tv now i want to control a webbrowser but the problem is i want a internetbrowser on the touchscreen where i can make changes and clicks on the websites
and then i want also to view the internetbrowser on the tv to see the website this is meaning i want a clone from the internetwebbrowser from the one on the touchscreen to a clone on the hdtelevision some sort of linked copy/clone of the webbrowsers

View 6 Replies

Prevent Dual Login Of Users In Web Application?

Feb 7, 2010

how do I prevent my users for more than one simultaneous login per account. I am using Vb.Net SQL.

View 2 Replies

Timers Under Windows 7 Dual Core Processors ?

Aug 27, 2010

After I upgraded from Windows Xp to Windows 7 on any dual core cpu machine my programs that use a simple timer function run incorrectly. The program works with the exact same hardware under Windows Xp and Windows Server 2003. I am using Visual Studio 2005 to write .NET Visual Basic programs that use 2 timers to count down. The first timer, timer1, is set to a value say 150000 ms (150 seconds). The second timer, timer2, is set to 1000ms (1 second). Both timers are enabled one right after the other from a button click event and begin. The timer2 routine running every second updates a label counting down the seconds. When timer1 fires it disables itself and exits. Timer2 also checks to see if timer1 is still running if it is not it will stop. Under Windows Xp and Windows Server 2003 the resulting count in the label is 0 when timer2 detects timer1 has finished. Under Windows 7 when timer1 stops timer2 is not at 0 it is 3 for 150 seconds and gets larger the more timer1 is increased. It appears to me timer2 is not being fired every 1000ms as it was under Windows Xp.

I have included the Visual Basic code below. If you want to test it just run Visual Studio and create a new project. Put the buttons, numericupdown, and labels in your form and past my code into the correct buttons. I have used these type of timer events for years without any problems unit Windows 7. Windows 7 on a single core Pentium 4 with hyperthreading turned on works fine. Windows 7 on a dual core E6500 fails, Windows Server 2003 works.

Public Class Form1

Dim I As Integer

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

[CODE]...

View 2 Replies

Dual Screen Video Player With Windows 7 Thumbnail Preview?

Aug 25, 2010

I try to create a dual video player with VB 2010.

With that I have 2 forms, 1 main form (with all the controls and it should contain a preview screen of what is being displayed on the second form.

And a second form (with a windows media player component).

Now the main form should have (as told) a preview screen of what is shown on the second screen, I want to know if it is possible to have is as the windows 7 taskbar thumbnail (when preview the mediaplayer).

View 2 Replies

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

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

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

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

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

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

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