Results 1 to 2 of 2

Thread: Need to communicate with a command line exe.

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2006
    Posts
    2

    Need to communicate with a command line exe.

    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,

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Need to communicate with a command line exe.

    Moved from CodeBank forum (which is for code examples, not questions)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width