| | |
Program running in the background
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Aug 2007
Posts: 2
Reputation:
Solved Threads: 0
Hello everyone,
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
Thanks alot
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
Thanks alot
Hi,
While you can make it complicated as a library and run it in the background as a service, there is much simple way. Just develop a visible regular interface in any language and set the property showintaskbar to false and visible to false on the form load. Now compile your application, and put it in a safe place and add the shortcut of it to startup folder in start menu. Then the application will run every time computer runs, you will not see it but if you go to task manager you will find it there.
While you can make it complicated as a library and run it in the background as a service, there is much simple way. Just develop a visible regular interface in any language and set the property showintaskbar to false and visible to false on the form load. Now compile your application, and put it in a safe place and add the shortcut of it to startup folder in start menu. Then the application will run every time computer runs, you will not see it but if you go to task manager you will find it there.
It is never about the number of languages you know, you either have the logic of programming or you don't ...
Some of the codes I post are collected from different sites during the past couple of years, so I would like to thank them for their help and for enabling me to help.
Some of the codes I post are collected from different sites during the past couple of years, so I would like to thank them for their help and for enabling me to help.
![]() |
Similar Threads
- Make a VB Program run in the background? (VB.NET)
- Program running in the background and in the tray (C#)
- Help with running background processes (Windows NT / 2000 / XP)
- Windows XP keeps restarting since a new video card (Windows NT / 2000 / XP)
- help with getting soda machine program running (C++)
- Auto changing of windows problem (Web Browsers)
Other Threads in the VB.NET Forum
- Previous Thread: Determining Width of Text in a Control
- Next Thread: Has anyone Tried the File Watcher??
| Thread Tools | Search this Thread |
.net .net2008 2008 access account advanced application array basic beginner browser button buttons center click code combo cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic excel exists fade filter forms generatetags gridview html images input insert intel internet listview map mobile module monitor msaccess net number objects open panel passingparameters pdf picturebox picturebox2 port position print printing problem regex right-to-left save search searchvb.net select serial settings shutdown socket sqldatbase sqlserver survey table temperature textbox timer timespan transparency txttoxmlconverter update user usercontol vb vb.net vb.netformclosing()eventpictureboxmessagebox vba vbnet visual visualbasic visualbasic.net visualstudio.net visualstudio2008 web winforms wpf wrapingcode xml year






