Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Out of Memory Error Message
Message
De
13/12/1997 03:14:30
 
 
À
13/12/1997 01:03:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00065546
Message ID:
00065723
Vues:
26
Vlad:

Thanks for the lead--I found the problem! This was a form I had written about a year ago, while still in the throes of moving myself from Clipper DOS to VFP. When I went to the Methods memo, I saw that I had a class called SaveData. The first line of code was to name the procedure (as was required in Clipper). It said PROCEDURE SaveData. The last line of code was ENDPROC. When I removed these two lines, up popped another error message--another method with the same "error". Now everything runs like a top, both as an app and as an EXE. Don't understand WHY this happens, but am absolutely delighted to have it solved.

I really appreciate all of you folks who responded to this and previous messages to try to help me out of this little mess!!!

John

>USE the scx file, go to the rec 22 and look into the Methods memo field. What is the 4th line? Can you post here the code you have in this memo field?
>
>Vlad
>
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform