Link to home
Start Free TrialLog in
Avatar of redrp
redrp

asked on

Passing foxpro variable to Visual studio project

Hello Experts,

I am trying to create a simple application in visual studio but i need to get variable data from an ancient foxpro program. What i am looking to do is have the foxpro application run the Visual studio program and pass information to VS to manipulate. In Foxpro you can pass variables to dos windows but I lack understanding of how that works. Can anyone help?

Thank you,

John
ASKER CERTIFIED SOLUTION
Avatar of tusharkanvinde
tusharkanvinde
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Olaf Doschke
Olaf Doschke
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
"In Foxpro you can pass variables to dos windows"

You most probably have pipes in mind in regard to DOS. That is mostly StdIn, StdOut and StdErr. The concept is not limited to DOS, but it's one of the interprocess mechanisms, and both applications must comply to it, eg you can't pass in something to a StdIn pipe of another program if that other program doesn't provide a StdIn pipe, it's not there by default.

Interprocess communication is always something done by both sides actively. Of course receiving paramaters at start is also something provided to any outside process by an exe, but it is one way, not interactive as interprocess communication.

Bye, Olaf.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of redrp
redrp

ASKER

Hey experts,

Thank you for all of the great info. I have decided to split the points between the lot of you for the awesome answers you all gave.

Thanks,

John