Hi Luigi
If I got you correctly.. You're trying to run different forms depending on if you're running a separeted application (on .exe file) or a program under V.F.P.
the expression
version(2)=2 return .t. when we are running under V.F.P.
HTH
Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20