>Hi All,
>
>We have a lot of checks Version(2) <> 0 in our project. We need to fool the project and to run it in dev mode but let it think it is in a run time mode. There are too many checks to modify them, we were curious if we can fool FoxPro by setting whatever Version(2) function checks to make it believe it is in runtime mode.
>
>Thanks.
I dont know if you can fool the Version() function but how about you:
1) Do a global search replace in your project for "Version(2)" and change to, eg, "XVersion()"
2) Create your own XVersion() function which you then can change to return whatever you need for testing purposes.
HTH
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.