Process Component %& focus

  • Thread starter Thread starter Mex
  • Start date Start date
M

Mex

Hi

Im using a Process component to run external application (FineOCR.exe)
In StarInfo i set theProcess.StartInfo.WindowStyle =
System.Diagnostics.ProcessWindowStyle.Hidden;

When the process is started main window looses focus, can this be avoided?
Problem is, when my app. must process many files using fineocr.exe, main
window "flashes"
and i cant use any other application, because the fineocr takes focus, even
when windowstyle is set to Hidden.


best regards;
Mex
 
Hi,

Did you try to spawn the process from a backgroudn thread?
 
Back
Top