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?

September 29th, 2012, 07:26 PM

dglienna

Re: Execute command line programs using vb.net

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

October 1st, 2012, 02:52 PM

HanneSThEGreaT

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