Total vb Beginner! Help needed with AD!

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Phil

    Total vb Beginner! Help needed with AD!

    Hi

    I admit it, I am a total vb beginner. I thought I'd get hold of a copy to
    see if I could resolve a simple problem we have.

    I am looking to search AD for user objects for reporting purposes, and have
    read numerous code samples etc on MSDN, and have tried to use these but with
    no success.

    Every time I try to 'run' my code I get build errors, and I am told that
    DirectoryEntry is not defined.

    I thought that adding a reference to system.director yservices would resolve
    that, but apparently not.

    Does anyone know what my problem could be, or better, where to get the
    skeleton code for simply starting off a search of AD?

    I am using vb .NET Standard Edition 2003.

    Many thanks

    Phil


  • Bernie Yaeger

    #2
    Re: Total vb Beginner! Help needed with AD!

    Hi Phil,

    Please show us the code and indicate where the error occurs.

    Bernie Yaeger

    "Phil" <phil.kelly@inf atech.com> wrote in message
    news:c9ivfs$cb5 $2@titan.btinte rnet.com...[color=blue]
    > Hi
    >
    > I admit it, I am a total vb beginner. I thought I'd get hold of a copy to
    > see if I could resolve a simple problem we have.
    >
    > I am looking to search AD for user objects for reporting purposes, and[/color]
    have[color=blue]
    > read numerous code samples etc on MSDN, and have tried to use these but[/color]
    with[color=blue]
    > no success.
    >
    > Every time I try to 'run' my code I get build errors, and I am told that
    > DirectoryEntry is not defined.
    >
    > I thought that adding a reference to system.director yservices would[/color]
    resolve[color=blue]
    > that, but apparently not.
    >
    > Does anyone know what my problem could be, or better, where to get the
    > skeleton code for simply starting off a search of AD?
    >
    > I am using vb .NET Standard Edition 2003.
    >
    > Many thanks
    >
    > Phil
    >
    >[/color]


    Comment

    Working...