new instance of program

  • Thread starter Thread starter stotty
  • Start date Start date
S

stotty

I am developing a program for .netcf 2.0. It is on a Symbol Bar Code
scanner. It takes input from the user from scans and then sends the
information off to a server.

I want the user to then be able to click NEW and the program will start
over from the beginning. How would I go about doing this?

Thanks in advance,

Chaz
 
Depends what you mean by start over from the beginning. If the flow of your
program does not support going from the beggining you can create a simple exe
that waits let's say 5 seconds and than launches your program and than when
the user clicks New you should launch the second exe without waiting it to
end and then exit program. The 2 exe should syncronize (meaning that the
delay of the launcher program should be bigger than the time it takes your
exe file to end)
 
Ya that does seem like the option we want. Would you be able to provide
just a small code snippet of how I should go about do it, ie with the
timer functionality.

Cheers,

Chaz
 
Back
Top