Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
Automating second instance of VFP
I have an idea and I'm wondering how practical it is. I've been trying to save the VFP environment, change it around completely, and then restore it. I took advantage of a form's datasession, and that helped some, but there are still glitches.
What I was considering doing is calling a whole new copy of VFP up from within my app and setting up the environment there. That way, it should not interfere with the current app's environment. I can muck around with the second copy to do everything I need, and then just close it when I'm done.
Is there any pitfalls involved in this approach? Any tips on how to do such a thing? I played around with automating Excel a while ago, and I'm guessing this is similar in concept.
Thanks,
Michelle
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement