Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Communication between applications
Message
 
 
À
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:
00481144
Vues:
15
>Nadya,
>Just a guess.
>What happens if you add the AppB directory (and its subdirectories if necessary) to SET PATH instead of SET DEFAULT?
>

In our set path we use relative paths, e.g.
Reports,Forms,Data, etc.
IOW, each time, we invoke an application, we should set default to this application directory in order to all subdirectories on this application be seen.



>>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.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform