>>I have programmed an application containing more than 100 forms. The file size of the exe file is more than 5 mb and still growing! To make it easier to make changes, I split up the application into a main application (Main.exe) and several small exe's for different modules. The Main.exe file calls the other exe files as needed. When I built the main project, I removed the references to the forms contained in the other exe files. Now sometimes, the user gets a message saying that a Form file is not found!! This wasn't the case earlier when the form was a part of the main.exe file.
>>The form was included in the project for the exe file which was called.
>>
>
>You cannot directly call forms included in an EXE from another EXE becasue VFP cannot see them. You can create a wrapper program included in the exe with forms and use it to call the forms from another EXE.
That is exactly what I have done... I found out what was happening. When the main exe project is compiled, it includes some of the forms again which are now a part of some other exe. (I had removed these from the main project, but VFP puts some of them back again.) Then when the program runs, it tries to call the forms directly and gives an error. I have to exclude the forms from the main exe project when it is compiled.
Thanks anyway.
Alhad
Only direct experience is Knowledge;
Everything else is just Information.