Hi All,
I have an windows application in which i have label,text box and button controls. now when my application is launched for first time it should display some text in label say "abc",and if i enter any text say "xyz" in the textbox it should replace the existing text "abc" with "xyz".
Now my application is closed and is launched again,this time label should show me "xyz" at start up.
Similarly this loop should repeat.
please any one get me out of this. providing code will be helpful.
Thanks, Ashok
|
| Author: kalaimanichozhan 01 Sep 2008 | Member Level: Gold | Rating: Points: 1 |
I hope your need is statisfied by Apllication events
|
| Author: ashok 01 Sep 2008 | Member Level: Bronze | Rating: Points: 1 |
i dont know much about that can u brief it. code or any methods will be more helpful.
Thank u, ashok
|
| Author: sweety 01 Sep 2008 | Member Level: Gold | Rating: Points: 1 |
u have to store the textbox value either in database or in xml file what ever u r using. so that u can get it next time.
|
| Author: Sabu C Alex 03 Sep 2008 | Member Level: Gold | Rating: Points: 2 |
hai
keep your text in a textfile or in an xml file or in DB, and update that field each time you execute application
|