jenn5175 Posted May 27, 2003 Posted May 27, 2003 Tell form where to display? Hi all, here's my question. I need to make one VB.NET app which has two forms - an admin form which has start/stop buttons on it and a display form which begins counting when "start" is selected and stops counting when "stop" is clicked. Here's the tricky part: I need the app to display the admin form on a computer monitor situated at a desk and the counter needs to display on a different monitor that will be shown to the crowd (picture a debate type situation where each person is being timed in their responses. We want only the admin to see the start/stop but need the actual time to display on a large plasma screen for everyone to see). My thoughts on how to accomplish this is run one computer with dual video cards in it. My question is, is there a way in VB.NET to tell a form which screen to display on? Or, if VB.NET doesn't differentiate between the two video cards can I somehow set where on the "one big screen" to display each form? Or is there a simpler way to do this that I'm not thinking about? Any help would be much appreciated! Jenn Quote
jenn5175 Posted May 27, 2003 Author Posted May 27, 2003 Okay, so I just realized the second part of my question was stupid - all I have to do is set StartPosition=manual and I can start it where ever I want on the screen. Sorry about that. Still interested in whether VB.NET can determine between video cards so it would be less hacked than if I did the above solution. Thanks! Jenn Quote
*Gurus* divil Posted May 27, 2003 *Gurus* Posted May 27, 2003 Check out the Screen class. Using it you can get coordinates of all screens present and display your form on whichever you like. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.