>>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?
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."