Waiting for external programs to finish 
Author Message
 Waiting for external programs to finish

Folks
I recently asked about putting up the MS Hourglass whilst waiting for a
call to
an external program to finish.  I got a reply from Andrew Marshall which
explained
how the hour glass worked.
The main question is - is there a way to 'watch' an external executable
(called from
my VB program in a Shell statement.  I want to change the cursor to the
hour glass
whilst the executable is executing and then remove the hour glass when
it is finished.

FYI the executable is a C program which runs in DOS and DOS will open
automatically
and close automatically upon completion.

In VB3 this was easy using the GetActiveModule command.  This dosen't
appear in VB6.

All help very much appreciated,
Thanks in advance
Phil Lockett
BELFAST



Fri, 12 Apr 2002 03:00:00 GMT  
 Waiting for external programs to finish

Quote:
>Folks
>I recently asked about putting up the MS Hourglass whilst waiting for a
>call to
>an external program to finish.  I got a reply from Andrew Marshall which
>explained
>how the hour glass worked.
>The main question is - is there a way to 'watch' an external executable
>(called from
>my VB program in a Shell statement.  I want to change the cursor to the
>hour glass
>whilst the executable is executing and then remove the hour glass when
>it is finished.

>FYI the executable is a C program which runs in DOS and DOS will open
>automatically
>and close automatically upon completion.

>In VB3 this was easy using the GetActiveModule command.  This dosen't
>appear in VB6.

Phil,

See the FAQ section at http://www.mvps.org/vbnet/ for a few solutions
to your question.

Mattias

________________________________________________
Mattias "beezo" Sj?gren, MCP

http://home1.2.sbbs.se/mattias.sjogren/sw/



Fri, 12 Apr 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. waiting for external program to finish (modally)

2. Calling an external program (and waiting until it's finished)

3. Waiting until external program finished to continue processing

4. Calling external apps and waiting for them to finish

5. Help: wait for external command to finish

6. waiting for external app to finish

7. Program Flow - wait for one sub to finish before starting another

8. Wait for program to finish

9. Determine whether a external program (process) has finished execution successfully

10. Q: Waiting for other programs to finish

11. waiting for a program to finish in VB4 32 bit

12. How to make program wait for Crystal to finish

 

 
Powered by phpBB® Forum Software