This time your picture shows a little more (previously it was just the middle bit, not helpful).
Let me see if I have it right:
You have a PC app, you want to do data entry on one screen, and display database output on another?
The easiest way would be set up it up as multimonitor: Put your display form on one, and your input app on the other.
frmDisplayDB disp = new frmDisplayDB();
if (Screen.AllScreens.Length > 1)
{
disp.StartPosition = FormStartPosition.Manual;
foreach (Screen screen in Screen.AllScreens)
{
if (!screen.Primary)
{
disp.Location = screen.WorkingArea.Location;
disp.Size = new Size(screen.WorkingArea.Width, screen.WorkingArea.Height);
break;
}
}
}
disp.Show();
Or in VB:
Dim disp As New frmDisplayDB()
If Screen.AllScreens.Length > 1 Then
disp.StartPosition = FormStartPosition.Manual
For Each screen__1 As Screen In Screen.AllScreens
If Not screen__1.Primary Then
disp.Location = screen__1.WorkingArea.Location
disp.Size = New Size(screen__1.WorkingArea.Width, screen__1.WorkingArea.Height)
Exit For
End If
Next
End If
disp.Show()
(Should be right, I used an online converter).