Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compiled EXE still looks for menu and procedure files th
Message
From
21/08/2002 18:04:30
 
 
To
21/08/2002 17:46:46
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00692181
Message ID:
00692256
Views:
27
I just saw this message, I will have a look at .show() method (I don't use the app wizard).


>Here's the snippet from the main prg of this project. Be advised that it was largely pre-generated by the project wizard in the misty depths of time:
>
>
>*-- Instantiate application object.
>RELEASE goApp
>PUBLIC goApp
>goApp=CREATEOBJECT("cApplication")
>
>*-- Configure application object.
>goApp.SetCaption("ICG Real Estate System")
>goApp.cStartupMenu= "menus\remain"
>goApp.cStartupForm="forms\startup"
>
>
>There is a PATH statement above it in the code that includes the relative path to these files in it, but omitting the menus\ from in front of that statement causes the default VFP menu to appear instead of the 'remain' menu, and an error msg appears saying that remain.mpr cannot be found. If I remove the relative path for the startup form, it is fine. Just the menu has the problem. I had a similar experience with some DO .. prg commands that were also in the project, and my solution to that was to either stick them out there in the PROGS folder, or to not use them. They are compiled into the project, and the DO 'ing is via the oApp.DoProgram() method of the sub-classed application object, from wzapplication in the canned appwiz library.
>
>Since this is internally used software, I can make this work, but it is not pretty.
>
>
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform