but what i want is when i create a application1
in application1 i have form1 in which a button i have added, on clicking a button i'll get a form2(which is having a image)
and i published that application1(means generated Setup file )
and i installed in the system, when i double clicked on the application1 file the form1 appear which contain a button
when i click that button for the 1st time the form2 get displayed i will close it
when i click that button for the 2nd time the form2 get displayed i will close it
-
-
-
-
--
-
--
-
-
-
when i click that button for the 30th time the form2 get displayed i will close it
what i want is
when i click that button for the 31th time the form2 should not get displayed
and even when i close that application file
and again when i double clicked on the application1 file i will get opened by form1 having a button no doubt , if i click button than form2 should never appear
please help me