?
Solved

Calling program from other languages

Posted on 2002-06-26
6
Medium Priority
?
149 Views
Last Modified: 2010-05-02
hi,

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

tq.
0
Comment
Question by:icecool
[X]
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
6 Comments
 
LVL 70

Expert Comment

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

Author Comment

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

dim retVal

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

is it correct?
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 150 total points
ID: 7112635
you normally call a .exe (a compiled program).
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Expert Comment

by:salman_ilm
ID: 7112654
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
 

Author Comment

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

Expert Comment

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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…
Suggested Courses
Course of the Month8 days, 5 hours left to enroll

765 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