Calling program from other languages

hi,

i would like to call some foxpro programs from vb program. how to do that?

tq.
icecoolAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Éric MoreauConnect With a Mentor Senior .Net ConsultantCommented:
you normally call a .exe (a compiled program).
0
 
Éric MoreauSenior .Net ConsultantCommented:
use the shell statement
0
 
icecoolAuthor Commented:
say if i have this program called a.prg

dim retVal

retVal = Shell("a.prg",1)

is it correct?
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
salman_ilmCommented:
you can call compiled program by Shell command
Shell("program_name.exe")

iam not sure that whether it can recieve any value or not
0
 
icecoolAuthor Commented:
no other alternative to call just the program?
0
 
Éric MoreauSenior .Net ConsultantCommented:
.prg is FP source code. Compile it first and then shell the .exe!
0
All Courses

From novice to tech pro — start learning today.