Ask the Expert

Why can't I type "Imports System.DirectoryServices" in my VB.NET program?

Any idea why Intellisence won't let me type "Imports System.DirectoryServices" in my VB.NET program? I'm running on WinXP Pro and everything else I do in VS.NET works fine. I tried installing ads.exe from Microsoft (adsi 2.5 setup), but it blows off with:

---------------------------
Active

    Requires Free Membership to View

Directory Service Interfaces Version 2.5
---------------------------

Have you set a reference to the System.DirectoryServices.dll in your VB project? In order to reference these classes, a reference must first be set.

This was first published in July 2002

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: