Link to home
Start Free TrialLog in
Avatar of nsgonline
nsgonline

asked on

To retrieve the display devices (VGA) installed on system and then displaying a different file on each display device (attached monitors)

I am working on an application for which hardware specifications are as under:
Pentium 3.4 processor with 2 external VGAs and one builtin VGA (in motherboard) and 3 monitors attached with it on three display devices.
I want to write a program in Visual C Sharp 2005, where i want to get the available display devices on the system (like in my case its 3 display devices) and then i want to run File1.doc on display device1 (monitor 1), File2.doc on display device2 (monitor 2) and File3.doc on display device3 (monitor3).
It means in my application i've to specify the available display devices to user and then user will select which file to dispaly on which display device. and then application will display that specific file to that display device's attached monitor.
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nsgonline
nsgonline

ASKER

Thanks for the solution. Can u explain the point 2, with bit more details; if with an example that is more helpfull b/c I haven't worked with screen class before. And along with this i want to open each file in full screen mode.
Something like this maybe:

            Form1 f = new Form1();
            Rectangle area = Screen.AllScreens[1].WorkingArea;
            f.Location = new Point(area.Left, area.Top);
            f.Size = new Size(area.Width, area.Height);

Bob