Calling program from other languages

Posted on 2002-06-26
Last Modified: 2010-05-02

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

Question by:icecool
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 70

Expert Comment

by:Éric Moreau
ID: 7112626
use the shell statement

Author Comment

ID: 7112631
say if i have this program called a.prg

dim retVal

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

is it correct?
LVL 70

Accepted Solution

Éric Moreau earned 50 total points
ID: 7112635
you normally call a .exe (a compiled program).
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Expert Comment

ID: 7112654
you can call compiled program by Shell command

iam not sure that whether it can recieve any value or not

Author Comment

ID: 7112681
no other alternative to call just the program?
LVL 70

Expert Comment

by:Éric Moreau
ID: 7112695
.prg is FP source code. Compile it first and then shell the .exe!

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
using Access 8 92
VB6 - Compare and highlight cell not the same 3 62
Error when passing an argument to a vb6 that contains  '/' 7 49
vbModal 12 74
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question