Home All Groups Group Topic Archive Search About

Manually run command VS Process class

Author
28 Mar 2006 5:02 PM
Alan Wang
Hi there,

I have a application to run OpenOffice version 2.0 as background process and
I have windows service is running to check if OpenOffice is running or not.
If it's not running I will call process class in vb.net to run OpenOffice as
command line. The problem is my program is hanging if I use process class in
vb.net  to run OpenOffice but it works fine when I manually run OpenOffice
command. My question is what's difference between manually run command and
using vb.net process class.

Thanks in advanced

Alan

Author
29 Mar 2006 5:09 PM
Chris Dunaway
What do you mean when you say "my program is hanging"?  Is there an
exception?  Does anything appear in the event logs?  Can you provide
more details about what is going wrong?