Click here to Skip to main content
15,881,831 members
Home / Discussions / C#
   

C#

 
AnswerRe: System.NullReferenceException Pin
Matt T Heffron8-Jun-16 13:56
professionalMatt T Heffron8-Jun-16 13:56 
AnswerRe: System.NullReferenceException Pin
BillWoodruff8-Jun-16 13:58
professionalBillWoodruff8-Jun-16 13:58 
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 
it depends on how and where the passwords are stored .. if you're using a database, one of the fields you might have in the account/user record is a datetime field for 'password last changed', and another might be a flag for 'needs to change password'

a) at day=0, you force a refresh of all passwords by setting the 'needs to change password flag' to true, and probably just put junk in the password field to force them to use the accepted password change procedure

b) when the user changes their password, you set the 'password last changed' field to (now), and the 'needs to change password' flag to false

c) every day, you run a procedure to go through the 'database' and calculate the difference in days between (now) and the password last changed field - if that figure is '90' you set the 'needs to change password' flag to true

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 
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 

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.