Results 1 to 6 of 6

Thread: samples needed please - ad with vb.net

  1. #1

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    samples needed please - ad with vb.net

    Hi all, can anyone let me know of any books or sites which teach you how to program the windows active directory from vb.net using the System.DirectoryServices namespace please?

    The .net helpfiles are crap & I can't find any other material anywhere!!!

    Thanks!

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  2. #2
    Registered User
    Join Date
    Nov 2002
    Location
    Växjö, Sweden
    Posts
    314
    A book.....

    MSPress

  3. #3

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    Thanks for that, but this uses vb6's ADSI objects whereas in .net it deals with the directoryentry & directorysearcher objects which is what I need to read up on.

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  4. #4
    Registered User
    Join Date
    Nov 2002
    Location
    Växjö, Sweden
    Posts
    314
    ooops.. sorry

    Is this any good?

    15 Seconds

    C# but.....

  5. #5

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    Yeah that helps a bit thanks, are there any books out there which've been written to cover this?

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  6. #6
    Member imj75's Avatar
    Join Date
    Aug 2000
    Location
    South Africa,Pretoria
    Posts
    51

    Re: samples needed please - ad with vb.net

    Try this attachment:
    It works beautifully on my network.
    The core was a C# sample by Sriram Chittur which I converted into VB and expanded. Feel free to distribute.
    Attached Files Attached Files
    Last edited by imj75; Jan 12th, 2005 at 04:28 AM. Reason: edit
    for (int i = 0;i < y3k; i++)
    {
    MakeMeSmarter (andMoreTolerant);
    }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width