CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2011

    Execute command line programs using vb.net

    I have a command line program which say, can calculate average. Now using vb.net how do I execute this "avg calc-avg" and read what is the average from the terminal?

  2. #2
    Join Date
    Jan 2006
    Fox Lake, IL

    Re: Execute command line programs using vb.net

    No idea what you're talking about. Who wrote the 'program', what does it do, etc...

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Jul 2001
    Sunny South Africa

    Re: Execute command line programs using vb.net

    To explain better. Do you know what arguments this program exposes?
    Once you know that, you should be able to use the Process.Start to execute the program with its argument list
    To find out what arguments this program has, you could use :
    Program name /?
    Inside the command line

Posting Permissions

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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.