>That tells me what Version of VFP I'm currently using. What I want is something that will tell me what version of Foxpro "myprog.fxp" was compiled in. Right now if I double click on any fxp, doesn't matter what version it was compiled in, it starts in VFP 8. I would like to write something a little more complicated by saying this FXP was compiled in VFP 6 so start up VFP 6.
>
>
>>Look at the VERSION() function.
>>
>>>Is there a way to determine what Version of Foxpro a prg is compiled in programmatically? I would like to create an exe that passes in the directory and based off of a compiled program determine what Version of Foxpro to start up.
>>>
>>>Thanks
I don't think there is any specific version of VFP information stored in the .FXP. There is in the .EXE, but not the .FXP.