Click here to Skip to main content
15,887,746 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to pass a delegate object with parameter as input to a ThreadStart constructor? Pin
neroknights3-Apr-03 9:44
neroknights3-Apr-03 9:44 
GeneralRe: How to pass a delegate object with parameter as input to a ThreadStart constructor? Pin
Anthony_Yio3-Apr-03 14:20
Anthony_Yio3-Apr-03 14:20 
GeneralRe: How to pass a delegate object with parameter as input to a ThreadStart constructor? Pin
Anonymous4-Apr-03 3:45
Anonymous4-Apr-03 3:45 
GeneralShow HTML in Windows Application Pin
D.D. de Kerf2-Apr-03 19:49
D.D. de Kerf2-Apr-03 19:49 
GeneralRe: Show HTML in Windows Application Pin
Stephane Rodriguez.2-Apr-03 20:14
Stephane Rodriguez.2-Apr-03 20:14 
GeneralRe: Show HTML in Windows Application Pin
D.D. de Kerf3-Apr-03 0:59
D.D. de Kerf3-Apr-03 0:59 
GeneralRe: Show HTML in Windows Application Pin
Roger Alsing2-Apr-03 21:53
Roger Alsing2-Apr-03 21:53 
GeneralADSI urgent help required Pin
Venkatraman2-Apr-03 19:15
Venkatraman2-Apr-03 19:15 
I am trying to authenticate and changing password for a windows domain user using ADSI and C#. When i try to connect to the server using LDAP provider i am getting COMException and message saying Server not opperational.

Below is my code

try
{
DirectoryEntry myDirectoryEntry;
myDirectoryEntry = new DirectoryEntry
("LDAP://domain or machine name","user id","pwd");
myDirectoryEntry.Invoke("setPassword","NewPassword");
myDirectoryEntry.CommitChanges();
}
catch(System.Runtime.InteropServices.COMException ex)
{
Console.WriteLine(ex.Message);
Console.Read();
}

where i am going wrong.

your pointers in this regard appreciated

Cheers,
Venkatraman Kalyanam
Chennai - India

"Being Excellent is not a skill, it is an attitude"
GeneralRe: ADSI urgent help required Pin
Velichko Sarev2-Apr-03 20:52
Velichko Sarev2-Apr-03 20:52 
GeneralRe: ADSI urgent help required Pin
Venkatraman2-Apr-03 21:28
Venkatraman2-Apr-03 21:28 
QuestionCWinThread equalant? Pin
bpavi2-Apr-03 10:38
bpavi2-Apr-03 10:38 
AnswerRe: CWinThread equalant? Pin
Oleksandr Kucherenko3-Apr-03 4:56
Oleksandr Kucherenko3-Apr-03 4:56 
GeneralRe: CWinThread equalant? Pin
Anonymous4-Apr-03 6:28
Anonymous4-Apr-03 6:28 
GeneralRe: CWinThread equalant? Pin
MikeKosak1-Mar-11 5:19
MikeKosak1-Mar-11 5:19 
GeneralActive Directory - Users or whatever Pin
Velichko Sarev2-Apr-03 9:32
Velichko Sarev2-Apr-03 9:32 
GeneralGDI+ flicker question Pin
Jon Newman2-Apr-03 9:27
Jon Newman2-Apr-03 9:27 
GeneralRe: GDI+ flicker question Pin
James T. Johnson2-Apr-03 9:41
James T. Johnson2-Apr-03 9:41 
GeneralRe: GDI+ flicker question Pin
Jon Newman2-Apr-03 9:49
Jon Newman2-Apr-03 9:49 
GeneralPressing DELETE button in DataGrid Pin
Mazdak2-Apr-03 7:45
Mazdak2-Apr-03 7:45 
GeneralRe: Pressing DELETE button in DataGrid Pin
Paul Riley2-Apr-03 7:50
Paul Riley2-Apr-03 7:50 
GeneralRe: Pressing DELETE button in DataGrid Pin
Mazdak2-Apr-03 7:53
Mazdak2-Apr-03 7:53 
GeneralRe: Pressing DELETE button in DataGrid Pin
Mazdak2-Apr-03 9:06
Mazdak2-Apr-03 9:06 
GeneralRe: Pressing DELETE button in DataGrid Pin
Mazdak2-Apr-03 9:34
Mazdak2-Apr-03 9:34 
QuestionC# Bitwise Operators? Pin
eidylon2-Apr-03 5:00
eidylon2-Apr-03 5:00 
AnswerRe: C# Bitwise Operators? Pin
James T. Johnson2-Apr-03 5:51
James T. Johnson2-Apr-03 5:51 

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.