Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to call an .app file?
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01296499
Message ID:
01296511
Views:
7
>>I was wondering if there is a right and wrong method of calling an .APP file from a program menu?
>>
>>Here is the situation:
>>I have a small project compiled into .APP file.
>>I call this .APP file from the menu of an application:
>>
>>do MyAddOn.app
>>
>>As soon as the control returned to the main program, I can't execute anything in the main program. The first error I get is that my ErrorLib.vcx cannot be found. I checked the value of SET("CLASSLIB") before and after calling the .APP file and it seems to be the same.
>>
>>What could be wrong in my syntax of calling .app file?
>
>Probably the .APP is calling CLEAR ALL/CLOSE ALL or resetting SET PATH or something else your main prgram is dependant on.

You are correct with your guess about SET PATH. This was the problem.

Thank you for your help.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform