I am want to write a small program that runs in the background, which means that it has no user interface, and runs all the time, something like a process. The program does a single task: it reads barcode values from a barcode machine attached to the computer and inserts that value into a database or text file, nothing more. So the program listens all the time for user input and inserts it in a database or text file. I have no idea how to start. I tried reading about console applications in Visual Studio 2005 but did not get to anything. How do you create programs that run in the background and wait for userinput or barcode machine input or whatever.
Any idea could help