You say that you have done something, then ask if it is posible. So I presume what you mean is:
e have a program named "main.prg" developed in visual foxpro 6. W
e want to run this file from VB
s it possible?
(No space between the end of a sentence and the punctuation at the end of it
f so, please explain how? H
elp 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.