Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using VFP9 from VFP7
Message
De
18/09/2009 09:36:19
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Titre:
Using VFP9 from VFP7
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01425113
Message ID:
01425113
Vues:
115
I've built a VFP9 EXE that takes a script and executes it. The script is produced in a VFP7 built app and then the VFP7 app calls the VFP9 EXE with the command to execute the script. This way various VFP9 specific features can be used in a VFP7 application.

I had expected the EXE to be a completely standalone EXE. However, I discovered that the EXE actually continuates in the same environment. The consequence is that it has access to the open tables (ha, that's sounds good), knows the various settings, private variables (wow) and so on.

Yes, I should have known better. Calling an EXE is similar to calling an APP indeed. The 'solution' here is to call the exe with the RUN command. In that case it will indeed act as a completely standalone exe.

But hey, it opens entirely new possibilities also. I had to code the script quite extensively. For example, I had to make a copy of a table to the folder for temporary files first and then specify in the script it had to use that table. Instead, I can simply specify in the script to use the already opened table, etc.

But I'm not sure this use/abuse goes without a price. What can be expected? And how about an APP built with VFP9? Would that one also work asif it is VFP9?
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform