>I have an EXE file which is built from a project. It is not big and is only 330k. When I run it in the window, I got the error message as 'There is not enough memory to complete this operation'. What could be the reason and what can I do about it? Can anyone help? Thank in advance!
Yongyao,
Thinking it occurs in EXE but not development (does it) I suspect "set sysmenu off" is used. If that's the case try with removing it. Next at the start of your app add an error handler that would log where it occurred so you could narrow down the problem. If they don't help what are OS and VFP versions (including service packs)?
Cetin