hi, i want a get msgbox(" Time Out") , when click some button then after 10 days ago, it may be close my application and it can not affect to time ( 10 days), i dont know how it code, please help me. tks,
It's probably easier to use an application setting instead of the registry. If you are using VB 2010, go to Project -> Properties, then go to the Settings page. You'll have to pick an appropriate variable type. You can access it by
You can keep track of elapsed time by using a TimeSpan or unsigned int.
You have indicated that you have a database. Why not store the info there? What type of database is it? Registry based systems are easy to crack. Usually, all it takes is for the user to identify which key your program has added and delete it to reset the counter.
data base is ms access data base, and usualy application has some button ( 10 days) when it click data base will delete after 10 days, i want to do that, how to store some infor in data base ( like what). can u give example code for me....