Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Communication between applications
Message
De
01/03/2001 16:44:37
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00481115
Message ID:
00481130
Vues:
13
Nadya,
Just a guess.
What happens if you add the AppB directory (and its subdirectories if necessary) to SET PATH instead of SET DEFAULT?

>Hi everybody,
>
>This is a problem:
>
>Application A is located under AppA directory.
>It calls application B which is located under AppB directory.
>
>Application B has non-modal form.
>Now this is the problem: in order to Application B work correctly, it should set path to AppB directory.
>
>Application A has some kludgy form with a timer, which sets necessary path, but, since Application B has non-modal form, it resets immediatelly back to App A directory, e.g.
>Application A does:
>set default to &ApplBPath (App A is not my application, I would definitely use name expression instead of macro).
>
>Application B main program starts:
>do form NonModal form
>return
>
>I switch into command window, when NonModal form appears, and type cd. It shows me Application A directory, not Application B, which is needed.
>
>So, what could be solutions for this problem? I don't want to make this form modal, besides, the same technique is used for all dependand applications and not all of them mine. I can, however, change my own application to set default inside of application, if it's needed.
>
>Do you have suggestions for me?
>
>Thanks in advance.
Daniel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform