Click to See Complete Forum and Search --> : Running an executable from a dll


njoshi
December 12th, 1999, 03:47 AM
I'm trying to integrate a third party executable with my VB Dll. The executable is designed to be used as a CGI (It returns text). I need to be able to capture that text, parse it, and display certain portions at will. I don't have the source code for the executable so I can't modify it. Parsing and displaying are easy enough, but I haven't been able to find a way to run the executable from the DLL on command or catch the returned text.

Any help would be greatly appreciated.

Weasel
February 9th, 2000, 07:31 AM
Try the Shell() command. If the output is to STDOUT throw a > filespec into the mix, the read filespec from the DLL.