Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
After building under VFP9 new forms are missing from exe
Message
From
15/12/2005 09:11:57
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
14/12/2005 16:09:53
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01078041
Message ID:
01078201
Views:
18
This message has been marked as the solution to the initial question of the thread.
>Old version of the application was build under VFP7.
>New version was developed using the old projectunder VFP9. Forms are not called directly like:
>do form formname
>
>but formnames are in a table included in the project - table has field action:
>DoForm("formname",'parms')
>FormMethod('methodname','parms')
>etc.
>An 'executor' object handles what to call based on that data. This worked very well in previous version.
>
>New forms/classes/frx/prg/prg based classes etc were added in new project (files needed are explicitly added -included- to the project). After build however the exe complains about missing files. ie:
>
>c:\exepath\formX.scx doesn't exist.
>
>but that form is explicitly included in project. Did anybody encounter this and know of a quick solution? (I'm going to add
>if .f.
>do form ...
>do this
>do that
>endif) but I don't think it'd do.
>TIA
>Cetin

Solved somewhat (still parts to check). Cause was ExecScript(). If form is called via execscript then it fails (a bug or a by design???) and doesn't see files included in project.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform