Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form not found error in App containing multiple exe file
Message
From
29/09/2005 02:06:05
Alhad Marathe
Asm Consulting
Mumbai, India
 
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows '98
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01051846
Message ID:
01054349
Views:
18
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform