Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Communication between applications
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00481115
Message ID:
00481501
Vues:
11
>Yes, this is exactly the case, how I see it. The application A is a "first layer", it's responsible for running all other applications. I invoke ApplicationB from the menu. Application A has some mechanism of invoking other applications. It does it through a form with a timer in it.
>
>Anyway, you got the point. I also understood it. Now the question:
>is it possible to do something without changing modality of the form?
>Say, I put code in Application B itself (in a form, for instance).
>
>So, my first question is quite simple: how can I find a directory of the application inside of the application (not exe, .app)?
>
>Would it work?
>
>The structure of the application is common:
>
>App directory
>   Application.pjx
>   Application.pjt
>   Application.app
>      Data
>      Forms
>      Progs
>      Reports
>
>
>I want all subdirectories to be visible in this application. If I run it standalone, it works fine. If I invoke it from Application A, it doesn't see Reports directory.
>
>Could you please advise?

Nadya,

How about this? Try putting the appropriate SET DEFAULT TO or CD statement in the Activate method of each form. The problem is when to set the default directory back to AppA. You can do this in the Deactivate method of each form, but I'm not exactly sure of all the cases when this fires. It could cause problems when Wait Windows or Report Previews are displayed. It would be better if you can make AppA react when it is activated. Does anyone know if there is a way to put code in the _Screen.Activate() event?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform