Yashodhan,
Right after your code does the DO FORM, add a READ EVENTS. Do a CLEAR EVENTS in the form.Destroy.
You can search messages here. There is also the Wiki which is a great online knowledgebase.
>1. I have writen a small application with 1 form as top level form. In the init section I am activating a menu. It works fine if I run this in VFP. But if I creat an EXE file and run it, it just flashes for a moment and disappears. Am I missing something?
>
>2. Is there any site where I can search for all such FAQs?