Click here to Skip to main content
11,925,022 members (46,561 online)
Rate this:
Please Sign up or sign in to vote.
See more: VB9.0 VB VB.NET
Hi all

Now i try to learn something about and LCD

1. I create a form for input DATA to DATABASE but i don't want to people to
see this form. (The name is Forminput. )
2. I create a form for Display Solution but i want to people to see this form
(The name is FormOutput. )

see this picture
Posted 31-Mar-11 21:56pm
Edited 4-Dec-11 23:02pm
OriginalGriff 1-Apr-11 3:05am
I think first you need to learn something about asking questions: I can't make any sense of what you want at all!
Why a form to input to a database if you never show people?
What does your image have to do with anything?
Where does the LCD come in?

Please, edit your question, and try to provide more (or even any) detail.
sonecs 1-Apr-11 3:11am
sorry my network is slowly so i can not post more now i just edit
sonecs 1-Apr-11 3:16am
Why a form to input to a database if you never show people?

because i want to hide my form when i input data to database . all people can see LCD only
how do you think ? it is impossible or not?
OriginalGriff 1-Apr-11 3:45am
If I understand what you want, then not impossible: see my answer below.
If that isn't what you want, we need more info!
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

make one window form application. and write any thin in the form
make FormBorderStyle to "none"

then put one low cost atom base pc at you LCD screen. and make sure the FTP is available run the program you have created and the LCD will show the full screen with what ever you write there.

now you need to upload file to FTP of your LCD pc. and then handle the uploaded file by timer and read the file and show the content you want.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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);
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
End If
(Should be right, I used an online converter).
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

thank you so much


it true

please !! Could you send sample source code to me?

see this !![^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.151125.3 | Last Updated 5 Dec 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100