I need to communicate with a command line exe using vb.net.

I tried the code at http://www.vbforums.com/showthread.php?p=2552476

However the streams associated with cmd.exe does not work with that command line exe. I cannot send or retrieve and text form that.

I used sendkeys method and that worked but how to retrieve output from there. I need to take the output to. Effectively this method posted on link looks better if it can work with any command line process. I can send the exe if you want that.

Regards,