>>>Is there a way to have form2,which is called from form1, to be exclusively active until a button is clicked on it?
>>
>>Just make it modal.
>
>Did the trick! CAn I ask why when compiled as an exe. clicking on either of form2's buttons,the app suddenly quits?
Check what code you put under these buttons.
Edward Pikman
Independent Consultant