Wait for Shell Call to Complete
Category:
System/APIType:
SnippetsDifficulty:
AdvancedAuthor:
Mrugendra BhureVersion Compatibility: Visual Basic 6
More information:
The following function provides a replacement for shell() function, the advantage is that it does not return until the command has finished its execution.
NOTE: Put this code in a module.
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: