Click here to Skip to main content
15,895,799 members
Home / Discussions / C#
   

C#

 
GeneralRe: System.NullReferenceException Pin
sunsher8-Jun-16 18:57
sunsher8-Jun-16 18:57 
GeneralRe: System.NullReferenceException Pin
sunsher8-Jun-16 19:10
sunsher8-Jun-16 19:10 
GeneralRe: System.NullReferenceException Pin
Pete O'Hanlon8-Jun-16 21:15
mvePete O'Hanlon8-Jun-16 21:15 
GeneralRe: System.NullReferenceException Pin
BillWoodruff8-Jun-16 21:54
professionalBillWoodruff8-Jun-16 21:54 
Questionpassword policy using c# Pin
forest4ever7-Jun-16 20:33
forest4ever7-Jun-16 20:33 
AnswerRe: password policy using c# Pin
Garth J Lancaster7-Jun-16 20:44
professionalGarth J Lancaster7-Jun-16 20:44 
AnswerRe: password policy using c# Pin
Mycroft Holmes7-Jun-16 22:19
professionalMycroft Holmes7-Jun-16 22:19 
AnswerRe: password policy using c# Pin
OriginalGriff7-Jun-16 22:28
mveOriginalGriff7-Jun-16 22:28 
Garth's way is fine, but rather than running a procedure every day, I'd do the "does it need changing" test when the user logged in. If it needs changing, then let him in, but take him directly to the "must change password" page, and don't let him in the rest of the site until it's changed.
I'd also dump the boolean "needs changing" value in favour of replacing the "last change" date with a "next change date". That way, then test is simple "is next change less than now?" and it's only one column to update when they do change it: nextChangeDueOn = CurrentDate + 90 days.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

QuestionSet window on top from ShellExecute? Pin
kenw2327-Jun-16 11:25
kenw2327-Jun-16 11:25 
AnswerRe: Set window on top from ShellExecute? Pin
Eddy Vluggen7-Jun-16 12:10
professionalEddy Vluggen7-Jun-16 12:10 
AnswerRe: Set window on top from ShellExecute? Pin
BillWoodruff8-Jun-16 7:26
professionalBillWoodruff8-Jun-16 7:26 
QuestionHow can I format a text selection in bold AND italic? Pin
Member 119167356-Jun-16 23:23
Member 119167356-Jun-16 23:23 
AnswerRe: How can I format a text selection in bold AND italic? Pin
OriginalGriff6-Jun-16 23:39
mveOriginalGriff6-Jun-16 23:39 
GeneralRe: How can I format a text selection in bold AND italic? Pin
Member 119167357-Jun-16 0:02
Member 119167357-Jun-16 0:02 
GeneralRe: How can I format a text selection in bold AND italic? Pin
OriginalGriff7-Jun-16 0:20
mveOriginalGriff7-Jun-16 0:20 
GeneralRe: How can I format a text selection in bold AND italic? Pin
Member 119167357-Jun-16 0:23
Member 119167357-Jun-16 0:23 
GeneralRe: How can I format a text selection in bold AND italic? Pin
OriginalGriff7-Jun-16 0:45
mveOriginalGriff7-Jun-16 0:45 
Questionsend an acknowledgement in serial port listner Pin
Member 125557476-Jun-16 21:00
Member 125557476-Jun-16 21:00 
AnswerRe: send an acknowledgement in serial port listner Pin
Richard MacCutchan6-Jun-16 21:16
mveRichard MacCutchan6-Jun-16 21:16 
GeneralRe: send an acknowledgement in serial port listner Pin
OriginalGriff6-Jun-16 21:56
mveOriginalGriff6-Jun-16 21:56 
GeneralRe: send an acknowledgement in serial port listner Pin
Richard MacCutchan6-Jun-16 22:11
mveRichard MacCutchan6-Jun-16 22:11 
QuestionC# windows application with SQL Server Pin
Zeyad Jalil6-Jun-16 0:12
professionalZeyad Jalil6-Jun-16 0:12 
AnswerRe: C# windows application with SQL Server Pin
Richard MacCutchan6-Jun-16 0:42
mveRichard MacCutchan6-Jun-16 0:42 
GeneralRe: C# windows application with SQL Server Pin
Zeyad Jalil6-Jun-16 0:50
professionalZeyad Jalil6-Jun-16 0:50 
GeneralRe: C# windows application with SQL Server Pin
Richard MacCutchan6-Jun-16 1:10
mveRichard MacCutchan6-Jun-16 1:10 

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.