Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Out of Memory Error Message
Message
From
16/12/1997 10:01:55
 
 
To
14/12/1997 10:08:58
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00065546
Message ID:
00066209
Views:
40
Paul:

I found out that you shouldn't remove PROCEDURE -- ENDPROC and fixed the damage that it created. I didn't post the code because, when I looked at it, it was obvious that the problem wasn't there. I forget exactly what it was, but it was completely correct.

I re-installed the program on the NT server and the problem went away. I can't tell you how much I appreciate you taking time to help me. Don't know if you remember or not, but I have been the lucky recipient of several assists from you over the past months. My debt to you, and others like you on this incredible forum, continues to mount! Ever think of coming to St. Croix???

John

>The first line should always say PROCEDURE ... and the last line should always be ENDPROC. These lines are generated by VFP and you shouldn't delete them. I asked you what is the 4th line, because you said the error message told you that the error is on Line 4. Can you post here the code you have in the Methods field? Because the error is most probably there. Without seeing the code, it is very difficult to say why it doesn't work.
>
>Vlad
>
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform