General information
Category:
Coding, syntax & commands
>PMFJI. I don't have VFP3, so I made my tests using VFP6 (no SP applied).
>
>Try this: in VFP, try to COMPILE prgname
first, then run your executable. I tried it and if the prg isn't compiled, I get the same error, but if the prg is compiled (resulting in a .FXP file), the code runs nicely.
>
>Code must be compiled before VFP can run it. To the best of my knowledge, only VFP6 with SP3 can compile at runtime. The error you are getting is probably because VFP looks for the FXP and can't find it.
>
>Therefore, I see 2 solutions: either upgrade to VFP6 SP3, or create your PRG, compile them and then all you need is the FXP file (the VFP runtime can't do anything with PRGs).
>
>Not sure I'm clear, so if you need more explanation, I'll be glad to give it a shot! :-)
>
>>I tried the full path thing, I even tried something like the following:
>>
>>aa=ALLTRIM(GETFILE())
>>DO (aa)
>>
>>I still get the error that the prg file can't be located...
Perfect!
This is what I was looking for (I think). I will give it a try!
Thanks all!
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only