You say that you have done something, then ask if it is posible. So I presume what you mean is:
We have a program named "main.prg" developed in visual foxpro 6.
We want to run this file from
VB 6.
Is it possible
? (
No space between the end of a sentence and the punctuation at the end of it.)
If so, please explain ho
w? Help with code.
If my understanding is right, then my answer would be that I don't believe it can be done. That file would have contents designed to be picked up by foxpro. Foxpro would then take actions that the file described; the file itself would not be something that could be directly run. (If Windows has had the extension ".prg" associated with Foxpro it
might be possible to run it with a Shell statement.)
I would think the way to run it would be to run foxpro explicitly, âpointingâ to the .prg file in a command line argument.