Re: Waiting for process end , how?
- From: "Bob" <bdufour@xxxxxxxxxx>
- Date: Tue, 15 Aug 2006 10:54:23 -0400
I been trying to do that with the following code
Dim pr As Process
pr.Start(Fname) where Fname is the filename to use with the process.
However I get a message in the IDE saying that Access of Shared member,
constant member.... etc. qualifying expression will not be evaluated.
Got any code snippets to do this? It seems straightforward but <GGGG> :-)
Thanks for your help.
Bob
"Cor Ligthert [MVP]" <notmyfirstname@xxxxxxxxx> wrote in message
news:ev8wQ89vGHA.4932@xxxxxxxxxxxxxxxxxxxxxxx
Bob,
How about to use the wait for exit in the process class to wait on the
exit of that process.
:-)
http://msdn2.microsoft.com/en-us/library/fb4aw7b8.aspx
I hope this helps,
Cor
"Bob" <bdufour@xxxxxxxxxx> schreef in bericht
news:uSv4E59vGHA.3392@xxxxxxxxxxxxxxxxxxxxxxx
Process.start("Mydoc.doc") starts Word with the file. I need to wait for
Word to be closed before more code can execute in my app. How can I do
this?
Thanks for any help
Bob
.
- Follow-Ups:
- Re: Waiting for process end , how?
- From: Tom Shelton
- Re: Waiting for process end , how?
- References:
- Waiting for process end , how?
- From: Bob
- Re: Waiting for process end , how?
- From: Cor Ligthert [MVP]
- Waiting for process end , how?
- Prev by Date: VS 2003 Service Pack 1
- Next by Date: Re: team foundataion server
- Previous by thread: Re: Waiting for process end , how?
- Next by thread: Re: Waiting for process end , how?
- Index(es):
Relevant Pages
|