I have Command in my program Like this:
Shell " \Vb6 /MAKE "Project"
How do I get error status of the command if the project contains errors ?
Use /out filename
to specify a file to receive error messages when building using /make
.
Hint: if you run VB6 /?
it will display the possible command-line flags. Like this:
The shell function can return a value.
Try:
result = shell(".....
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With