Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP7 - Cannot create an executable that will run...
Message
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00837813
Message ID:
00837929
Views:
31
<snip>

As stated previously, I cannot create and executable that will run.

This is the exact text of the error that shows when I double click the executable.
"Visual Foxpro Cannot Start. Insufficient Memory Press F1 for Help"

Pressing F1 does nothing. Clicking Help does nothing, Clicking OK returns me to the desktop.

If I create an application (.app file) and try to run it from explorer by double clicking the app file, the same error occurs.
If I have VFP 7 open on my machine, it will run in that window, just fine. Also, it runs from the command window just fine. (This also works for the EXE file)

Basically in summary, it works fine as long as VFP 7 is already open. However if I try to run it any other way, I get "Cannot Start..." message.

You suggested checking out the release classlib function. I added the line to the code in the beforebuild event in my project class and it bombs thusly.
(in the projecthook method.. i use it to clean up menu picture files...)
The line of code is
release classlib c:\vfp7apps\libs\base
The error is that the class library cannot be found. (Beleive me, that is where it is.)

I tried it with set classlib to, instead of the release classlib as above and this error occurs when I try to build it.
"File c:\vfp7apps\libs\base.vcx is in use and cannot be recompiled."

I use the base.vcx for everything. This is where my base form resides, for use when you create forms. This is where the fields are mapped to special controls, i.e. i have a date control that is used with all date fields.

To create forms, I just create them based on the class in base.vcx from the New button in the project manager. I put the table in the data environment and drag the fields onto the form itself. My special classes, like the date on above are used.

I can't think of any more details to give you to help me. This is becoming a royal pain in the you know where.

If you can think of anything that I might be missing, it would be greatly appreciated.

Thanks again,
Mike
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform