>>
>>If, when using an APP file with the DO syntax, you do need a "main". This serves as the entry point for the application. You can pass parameters to it to further control what's done in the app.
>Remember that the only differences between an APP and an EXE is that an APP doesn't contain the header information that's needed to load it directly from Windows and APPs run in the same address space as the caller. EXEs run in a separate address space.
>
Dmitry,
>
>Thank you for your helpful input. I realize that I can pass parameters to my APP and in my case I will probably do it via an array, since I have tons of parameters to pass. My only concern, so far, (since I have not implemented this APP) is how it will look. That is, when I have a bunch of windows open in my main application and one of the windows calls an APP program, will APP program "cover" all my main program windows with a new VFP main window. I guess I have to try and see.
First, you're welcome.
Second, may I suggest a form manager that will take care of this based on the parameters ou pass?
George
Ubi caritas et amor, deus ibi est