Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Out of Memory Error Message
Message
De
13/12/1997 00:55:31
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
 
 
À
12/12/1997 11:42:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00065546
Message ID:
00065714
Vues:
31
>I have a form that invokes properly and runs beautifully whenever I run it from within the project (VFP 5.0), i.e., by RUNning MAIN.PRG. However, whenever I compile the project and run it as an executable, the form (and only this one form) will not load. I get an out of memory error message when it tries to load a combo box contained in the form.
>
>I am using an SQL Select into a cursor. The table that I am loading is small--currently 167 records. I am loading the Last Name and the First Name fields from it. BTW, the EXE file is also small--under 400K. The error message points me to Record #22, Line 4. When I USE the form (USE CUSTOMER.SCX), Record 22 is, indeed, the combobox control.
>
>Any idea why the combo box won't load as part of an executable? And does anybody know what Line 4 means in the error message??
>
>TIA.
>
>John
Sounds like you may have some file corruption.

1) Try rebuilding the project with the RECOMPILE ALL option.
2) Pack your project
3) If that doesnt work, try deleting the object and replacing it with a new one.
4) Next I would try a "SAVE AS" a new form and deleting the old one

Hope this helps.
Good Luck
//:^)
L.A.Long
ProgRes
lalong1@charter.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform