Running programs in background
Posted on 1998-09-15
I have written a VB5 (WIN32) program that uses a shell command to open a copy of IBM Persnonal Communication/3270. I access 3270 to copy the total parts we have shipped to the clipboard. I then set a variable to the clipboard text. I then send the clipboard text to a display screen we have using MSCOMM. I can get the program to work. The program cycles every 5 minutes to get the newest text from the clipboard. Here is the problem: the program runs on a supervisor's computer and I want to be able to have it run in the background without the supervisor even knowing it. Right now the program calls up 3270, makes it the focus and gets the number. If I try to use the computer while the program is running it crashes. Anyone have any ideas, or do you need more information.