Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running a VFP program within a VFP program
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00364691
Message ID:
00364887
Vues:
38
Yes the original isn't displayed correctly, although it does display. The skip for memory variable is not persistent even after a save to and restore. Push and pop seem not to add anything to this. I've narrowed it down to 2 problems. App2's menu shows, but the program keeps on going past the read events and goes back to app1. This would be annoying by itself, but the app1 restore doesn't stick.


>Oh, you didn't say you were calling it from a menu, and that it also had a menu. By "it seems to break" do you mean that the original menu isn't displayed when you get back to the original program? If that's the case, you need to PUSH the menu before calling the other app, and then POP it afterwards.
>

>>I did that and it seems to work fine from a prg, but if I call it from the menu in app1 and app2 has a menu, it seems to break. I used the full path for my test and tried DO and RUN. Both don't make it.
>>
>>If there is no menu involved, it seems fine, but they both have custom menus.
>>
>>
>>>How about DO otherapp.EXE?
>>>
>>>>I'm trying to run a VFP EXE from within another VFP APP or EXE
>>>>. Is there a good way to do this?
>>>>
>>>>TIA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform