Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox in Windows NT
Message
From
13/12/1997 03:19:17
 
 
To
12/12/1997 13:46:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00063309
Message ID:
00065725
Views:
74
>>>>>>
>>>>>>Edward:
>>>>>>
>>>>>>Again, I deeply appreciate your continued help. I have just posted a more accurate message about my problem for the general public. Turns out that the app will not run properly ANYWHERE whenever it is run as an executable. Only when I run it from within the project (MAIN.prg) does it perform properly. And it has nothing to do with RI--I removed all of the RI code and still got an out of memory error whenever I run the EXE.
>>>>>>
>>>>>>ARGGHHHH!!!! Any ideas? Sorry to be such an eternal pest . . .
>>>>>>
>>>>>>John
>>>>>
>>>>>Just to make sure one thing. Did you install exe properly, i.e. you ran Setup wizard, created intallation package etc?
>>>>
>>>>Edward:
>>>>
>>>>Yes, I ran the Set-up Wizard, etc. The program will not run as an EXE on MY computer (i.e., the one where the program is being written). I have never run across anything like this before. Again, thank you . . . .
>>>>
>>>>John
>>>
>>>Two more questions:
>>>1. What is combo.rowsoucre, alias (cursor) or SQL-statement?
>>>2. How many items are going to be in combo?
>>
>>Edward:
>>
>>The RowSource is SQL-Statement, loading Last Name and First Name from a table that currently contains 167 records. Doesnt' seem like much of a load to me--what do you think??
>>
>>John
>
>That's not much, but what about changing RowSource to alias of programmatically created cursor. At least, you will 'separate' combo from database and see what if any will cause the same problem.

Edward:

GOT IT! Turns out that I had written this stuff about a year ago, while still struggling with the transition from DOS to VFP. I had two methods that I created and named improperly. For example, I had a SaveData method. The first line of code was PROCEDURE SaveData and the last line was ENDPROC (required in Clipper). As soon as I removed these lines, it worked like a charm. Don't know why, but IT WORKS!

Thanks VERY MUCH for your continued support on this, and other, issues--I am deeply appreciative.

John
Previous
Reply
Map
View

Click here to load this message in the networking platform