Naveen
17th March 2006, 10:09
Hi Everyone...
I'm trying to build a small sample application....
when we install (or launch) it on our system for the very first time I want to show a particular number of buttons on its initial Screen (GUI) and i want to show a different number of buttons there after......even if he closes the application and restarts or double clicks on it later after it is installed......
The approaches which i'm following are
I'm putting it in the main Constructor..
1) I'm a taking a boolean variable and checking if is for the very first time or not but the problem is whenever I close the application and double click it once again...it is following the same process (which it is bound to)
2) i'm trying to create a file and check whether it is existing or not.....here
also the file is getting created whenever i start the application...
I guess this could be done with some config file logic or is there any better way of doing this.....Help me out please........;) ;)
Thanks in Advance
Naveen
I'm trying to build a small sample application....
when we install (or launch) it on our system for the very first time I want to show a particular number of buttons on its initial Screen (GUI) and i want to show a different number of buttons there after......even if he closes the application and restarts or double clicks on it later after it is installed......
The approaches which i'm following are
I'm putting it in the main Constructor..
1) I'm a taking a boolean variable and checking if is for the very first time or not but the problem is whenever I close the application and double click it once again...it is following the same process (which it is bound to)
2) i'm trying to create a file and check whether it is existing or not.....here
also the file is getting created whenever i start the application...
I guess this could be done with some config file logic or is there any better way of doing this.....Help me out please........;) ;)
Thanks in Advance
Naveen