Friday 23 July 2010

Run a command and read console output in VB6 / VBA

Needed to run a command line program from code and read the input. Found this useful code to do it: