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

C#

 
AnswerRe: Cannot understand System.Windows.Forms.Form.ShowDialog (IWin32Window owner) method in .net class library? Pin
Dave Kreskowiak13-Nov-08 5:07
mveDave Kreskowiak13-Nov-08 5:07 
GeneralRe: Cannot understand System.Windows.Forms.Form.ShowDialog (IWin32Window owner) method in .net class library? Pin
Jason_Shen13-Nov-08 5:41
Jason_Shen13-Nov-08 5:41 
QuestionHow to set the background color of the Scrollbar of DataGridView with C# in the WinForm Pin
mctramp16813-Nov-08 0:49
mctramp16813-Nov-08 0:49 
AnswerRe: How to set the background color of the Scrollbar of DataGridView with C# in the WinForm Pin
Dave Kreskowiak13-Nov-08 5:03
mveDave Kreskowiak13-Nov-08 5:03 
Questionabout login form Pin
sanddepnamburi13-Nov-08 0:45
sanddepnamburi13-Nov-08 0:45 
AnswerRe: about login form Pin
Brij13-Nov-08 1:15
mentorBrij13-Nov-08 1:15 
AnswerRe: about login form Pin
Simon P Stevens13-Nov-08 1:18
Simon P Stevens13-Nov-08 1:18 
JokeRe: about login form Pin
Mbah Dhaim13-Nov-08 2:01
Mbah Dhaim13-Nov-08 2:01 
RantRe: about login form Pin
Paul Conrad13-Nov-08 5:05
professionalPaul Conrad13-Nov-08 5:05 
AnswerRe: about login form Pin
Russell Jones13-Nov-08 6:03
Russell Jones13-Nov-08 6:03 
AnswerRe: about login form Pin
nelsonpaixao17-Nov-08 14:02
nelsonpaixao17-Nov-08 14:02 
QuestionHow to retrive client machine name in c# Class Pin
surigu13-Nov-08 0:43
surigu13-Nov-08 0:43 
AnswerRe: How to retrive client machine name in c# Class Pin
Giorgi Dalakishvili13-Nov-08 0:51
mentorGiorgi Dalakishvili13-Nov-08 0:51 
AnswerRe: How to retrive client machine name in c# Class Pin
Guffa13-Nov-08 1:44
Guffa13-Nov-08 1:44 
Questionconversion from double to float Pin
madeline_veda13-Nov-08 0:31
madeline_veda13-Nov-08 0:31 
AnswerRe: conversion from double to float Pin
DaveyM6913-Nov-08 1:01
professionalDaveyM6913-Nov-08 1:01 
AnswerRe: conversion from double to float Pin
PIEBALDconsult13-Nov-08 3:23
mvePIEBALDconsult13-Nov-08 3:23 
AnswerRe: conversion from double to float Pin
Ennis Ray Lynch, Jr.13-Nov-08 3:27
Ennis Ray Lynch, Jr.13-Nov-08 3:27 
GeneralRe: conversion from double to float Pin
CPallini13-Nov-08 3:46
mveCPallini13-Nov-08 3:46 
GeneralRe: conversion from double to float Pin
madeline_veda13-Nov-08 19:51
madeline_veda13-Nov-08 19:51 
QuestionActive Directory Reset password - able to login with both old password and new password [modified] Pin
Sudhir Mangla13-Nov-08 0:27
professionalSudhir Mangla13-Nov-08 0:27 
I working with Active Directory Reset password.

DirectoryEntry DirEntry = GetDirectoryEntry();
DirEntry.UsePropertyCache = false;
DirEntry.Invoke("SetPassword", new object[] { newpassword });
DirEntry.CommitChanges();


The code is working fine but after changing the password I am able to login with both old password and new password. I found with my observation that after one hour approximately the old password expires.

Is there any way to expire the old password immediately when I change the password?

Sudhir Mangla

http://tips.DevelopersVoice.com
(Technical Tips and Tricks)
http://Programmerworld.net
(Free books and source code)
http://Faq.Programmerworld.net
(FAQ and Tips for programmers)



modified on Thursday, November 13, 2008 6:39 AM

AnswerRe: Active Directory Reset password - able to login with both old password and new password Pin
Dave Kreskowiak13-Nov-08 4:59
mveDave Kreskowiak13-Nov-08 4:59 
GeneralRe: Active Directory Reset password - able to login with both old password and new password Pin
Sudhir Mangla14-Nov-08 1:06
professionalSudhir Mangla14-Nov-08 1:06 
AnswerRe: Active Directory Reset password - able to login with both old password and new password Pin
kakarato31-Mar-11 21:33
kakarato31-Mar-11 21:33 
Questionpinting text file using c#.net for web application Pin
anithagaraga12-Nov-08 23:59
anithagaraga12-Nov-08 23:59 

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.