*
(E-Mail Removed) (Antonio Policelli) scripsit:
> I have a sub like this
> sub runProgram(programName as striing, programPath as string)
> ...
> End sub
>
> the sub will run another exe from within my applicaiton. I don't need
> to return anything to my application, I just need to run execute the
> sub on a background thread so my applicaiton remains responsive. all
> I have to do is pass in these 2 strings. can someone show me the code
> to do this?
Not sure, but why not use 'Shell' or 'System.Diagnostics.Process.Start'
without a new thread? The function will return immediately after
starting the other application.
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>