Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have one windows form application in v s 2010.
i want to maintain a FLAG in Which there are two values of FLAG
1) yes and 2) no
What i want is that when a form is loaded the Flag value should be yes and when The form is closed the flag value should be no in my back end database
It is same like sign in person on any web site.....
But my Problem is that How Can i maintain it any how the my computer is turn off .......
Posted
Updated 23-Dec-10 22:00pm
v2

1 solution

Hi Neeil,

You can set flag respectively on form load and form closing event of the form.
 
Share this answer
 
Comments
Neeil 24-Dec-10 3:46am    
@vivekse it can not maintain a flag when i open a application at one side and dirctly closed a computer,,,,,how this can be make flag in this such type of situaiton

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900