Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 153
  • Last Modified:

Calling program from other languages

hi,

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

tq.
0
icecool
Asked:
icecool
  • 3
  • 2
1 Solution
 
É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
 
Éric MoreauSenior .Net ConsultantCommented:
you normally call a .exe (a compiled program).
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now