Click here to Skip to main content
15,901,035 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to change the icons size for different view in the desktop? Pin
Luc Pattyn6-Jan-11 1:54
sitebuilderLuc Pattyn6-Jan-11 1:54 
Questionoptimize gridview paging Pin
michael_jhons5-Jan-11 11:45
michael_jhons5-Jan-11 11:45 
AnswerRe: optimize gridview paging Pin
thatraja5-Jan-11 13:43
professionalthatraja5-Jan-11 13:43 
GeneralRe: optimize gridview paging Pin
michael_jhons5-Jan-11 22:32
michael_jhons5-Jan-11 22:32 
QuestionCan I Now the estimated time for process ? Pin
Honeyboy_205-Jan-11 10:44
Honeyboy_205-Jan-11 10:44 
AnswerRe: Can I Now the estimated time for process ? Pin
Soulus835-Jan-11 10:54
Soulus835-Jan-11 10:54 
AnswerRe: Can I know the estimated time for process ? Pin
Luc Pattyn5-Jan-11 11:00
sitebuilderLuc Pattyn5-Jan-11 11:00 
QuestionHelp with querying Active Directory [modified] Pin
turbosupramk35-Jan-11 10:09
turbosupramk35-Jan-11 10:09 
I'm trying to query Active Directory and find out if a group exists

I was looking at Howto: (Almost) Everything In Active Directory via C#

and I tried to use the code below, but I'm not sure what I'm doing apparently because I can't get it to work. Can anyone help please?
public static bool Exists(string objectPath)
    {
        bool found = false; // objectPath: the fully qualified path to the object: CN=user, OU=USERS, DC=contoso, DC=com(same as objectDn)
        if (DirectoryEntry.Exists("LDAP://" + objectPath))
        {
            found = true;
        }
        return found;
    }


modified on Tuesday, January 25, 2011 6:40 AM

QuestionWhy declare an instance of new class as the base type? Pin
AussieLew5-Jan-11 9:40
AussieLew5-Jan-11 9:40 
AnswerRe: Why declare an instance of new class as the base type? Pin
Pete O'Hanlon5-Jan-11 9:48
mvePete O'Hanlon5-Jan-11 9:48 
Questionsalam Pin
javad andamani5-Jan-11 9:30
javad andamani5-Jan-11 9:30 
AnswerRe: salam PinPopular
Pete O'Hanlon5-Jan-11 9:39
mvePete O'Hanlon5-Jan-11 9:39 
GeneralRe: salam Pin
javad andamani5-Jan-11 20:41
javad andamani5-Jan-11 20:41 
GeneralRe: salam Pin
Keith Barrow5-Jan-11 21:31
professionalKeith Barrow5-Jan-11 21:31 
GeneralRe: salam Pin
Pete O'Hanlon5-Jan-11 22:17
mvePete O'Hanlon5-Jan-11 22:17 
GeneralRe: salam Pin
fjdiewornncalwe6-Jan-11 16:17
professionalfjdiewornncalwe6-Jan-11 16:17 
AnswerRe: salam Pin
katayoonkadri13655-Jan-11 17:41
katayoonkadri13655-Jan-11 17:41 
GeneralRe: salam Pin
OriginalGriff5-Jan-11 20:47
mveOriginalGriff5-Jan-11 20:47 
GeneralRe: salam Pin
JOAT-MON6-Jan-11 12:12
JOAT-MON6-Jan-11 12:12 
QuestionStreaming real-time data to a file - recommendations? [modified] Pin
Wjousts5-Jan-11 8:11
Wjousts5-Jan-11 8:11 
AnswerRe: Steaming real-time data to a file - recommendations? Pin
Luc Pattyn5-Jan-11 8:34
sitebuilderLuc Pattyn5-Jan-11 8:34 
GeneralRe: Steaming real-time data to a file - recommendations? Pin
Wjousts5-Jan-11 9:48
Wjousts5-Jan-11 9:48 
GeneralRe: Steaming real-time data to a file - recommendations? Pin
Luc Pattyn5-Jan-11 9:52
sitebuilderLuc Pattyn5-Jan-11 9:52 
QuestionRe: Steaming real-time data to a file - recommendations? Pin
Paladin20005-Jan-11 10:11
Paladin20005-Jan-11 10:11 
AnswerRe: Steaming real-time data to a file - recommendations? Pin
Luc Pattyn5-Jan-11 10:24
sitebuilderLuc Pattyn5-Jan-11 10:24 

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.