Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

run a program from my form

Status
Not open for further replies.

revit

Programmer
Oct 27, 2001
36
IL
i want to run a program written in c from my VB form , what command should i use? if it possible, i would like to run the program with arguments it receives from the form and display the output on the form.
thanks in advance.

 
i want to run a program written in c from my VB form , what command should i use? if it possible, i would like to run the program with arguments it receives from the form and display the output on the form.
thanks in advance.

The program you've written in C needs to be an executable but if you try using the VB SENDKEYS command (normally together with the SHELL command) to send the appropriate input the your program you can get the information in...

Getting it out again is a whole different matter, you need to program your C code again so when it receives the information from your VB Form, it sends back an answer in the same fashion using it's SENDKEYS equivalent.

>:):O> Yoshi >:):O>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top