Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Communication between applications
Message
From
01/03/2001 16:44:37
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00481115
Message ID:
00481130
Views:
14
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform