Click here to Skip to main content
15,922,166 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# translation to vb.net Pin
Calla27-Nov-09 2:19
Calla27-Nov-09 2:19 
GeneralRe: C# translation to vb.net Pin
webspeed27-Nov-09 2:29
webspeed27-Nov-09 2:29 
AnswerRe: C# translation to vb.net Pin
Vimalsoft(Pty) Ltd27-Nov-09 3:17
professionalVimalsoft(Pty) Ltd27-Nov-09 3:17 
GeneralRe: C# translation to vb.net Pin
webspeed27-Nov-09 4:13
webspeed27-Nov-09 4:13 
GeneralRe: C# translation to vb.net Pin
EliottA27-Nov-09 5:12
EliottA27-Nov-09 5:12 
GeneralRe: C# translation to vb.net Pin
0x3c027-Nov-09 10:23
0x3c027-Nov-09 10:23 
QuestionUser Log Maintance Pin
Isaac Gordon27-Nov-09 0:07
Isaac Gordon27-Nov-09 0:07 
AnswerRe: User Log Maintance Pin
dan!sh 27-Nov-09 0:23
professional dan!sh 27-Nov-09 0:23 
In the login form itself, attach an handler for Applciation.Exit event. When you quit the applcation, from any form and through Task manager as well, this event will be fired. There you can set the flag to zero again.

Although you wont be able to do much about shut down though. Hence if the last login of the user was some X - minutes before, let the user login. Also, in this case, you will need to update the database with user's login details at regular intervals to handle following case:

Say if a user opened your application and has not done anything for 30 min. And you have set that X minutes as 15, then his connection is gone. So you will need to regularly update the database, maybe on another thread, that user has not closed the application yet and is doing something.

50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!

Question[Solved]Excel issue or dumb user? Pin
cburlacu26-Nov-09 21:03
cburlacu26-Nov-09 21:03 
AnswerRe: Excel issue or dumb user? Pin
ScottM126-Nov-09 22:07
ScottM126-Nov-09 22:07 
GeneralRe: Excel issue or dumb user? Pin
cburlacu26-Nov-09 22:45
cburlacu26-Nov-09 22:45 
GeneralRe: Excel issue or dumb user? Pin
dan!sh 26-Nov-09 23:21
professional dan!sh 26-Nov-09 23:21 
GeneralRe: Excel issue or dumb user? Pin
cburlacu27-Nov-09 1:41
cburlacu27-Nov-09 1:41 
GeneralRe: Excel issue or dumb user? Pin
EliottA27-Nov-09 1:45
EliottA27-Nov-09 1:45 
AnswerRe: Excel issue or dumb user? Pin
cburlacu27-Nov-09 1:57
cburlacu27-Nov-09 1:57 
Questionwants to display rows in a powerpoint using vs2008 Pin
dsaikrishna26-Nov-09 19:04
dsaikrishna26-Nov-09 19:04 
AnswerRe: wants to display rows in a powerpoint using vs2008 Pin
dan!sh 26-Nov-09 19:31
professional dan!sh 26-Nov-09 19:31 
AnswerRe: wants to display rows in a powerpoint using vs2008 Pin
ScottM126-Nov-09 22:08
ScottM126-Nov-09 22:08 
GeneralRe: wants to display rows in a powerpoint using vs2008 Pin
dsaikrishna26-Nov-09 22:32
dsaikrishna26-Nov-09 22:32 
GeneralRe: wants to display rows in a powerpoint using vs2008 Pin
ScottM126-Nov-09 22:37
ScottM126-Nov-09 22:37 
GeneralRe: wants to display rows in a powerpoint using vs2008 Pin
dsaikrishna26-Nov-09 22:47
dsaikrishna26-Nov-09 22:47 
QuestionAbout dateTimePicker problem Pin
miss YY26-Nov-09 18:01
miss YY26-Nov-09 18:01 
AnswerRe: About dateTimePicker problem Pin
avigodse26-Nov-09 18:56
professionalavigodse26-Nov-09 18:56 
AnswerRe: About dateTimePicker problem Pin
Shameel26-Nov-09 20:05
professionalShameel26-Nov-09 20:05 
AnswerRe: About dateTimePicker problem Pin
ScottM126-Nov-09 22:13
ScottM126-Nov-09 22:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.