Microsoft KB Archive/192766

= SAMPLE: ADSIBrow.exe Browses Active Directory w/ Visual FoxPro =

Article ID: 192766

Article Last Modified on 10/9/2006

-

APPLIES TO


 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q192766



SUMMARY
ADSIBrow.exe is self-extracting executable file that contains the Visual FoxPro form files, ADSBrows.scx and ADSBrows.sct. The form ADSBrows is a sample form that demonstrates the navigation of an Active Directory Services (ADS) directory structure.



MORE INFORMATION
The following file is available for download from the Microsoft Download Center:

ADSIBrow.exe

Release Date: Sep-24-1998

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

ADSI is a Component Object Model (COM) based interface for accessing directory services. Each element of the network, such as users, printers and computers, can be treated as an object. The form ADSBrows demonstrates how to find an Active Directory Services (ADS) container object as well as the objects contained within that container.

To use ADSBrows, run ADSIBrow.exe to extract the form files. Run the form from within Visual FoxPro by typing the following in the Command window: DO FORM ADSBROWS In the ADS Path text box, change MyServer to a valid computer name for your network and click the Find button. If all of the Filters check boxes are clear, the browser displays all ADS objects for the computer name entered. The browser allows a user to drill down the object tree by clicking the plus sign to the left of an object.

If any Filters check boxes are selected, the browser displays those objects that match the selected check boxes. In other words, if Users and Printers are checked, the browser displays the users and printers for the computer name entered.

To view the properties for an object, select it in the Treeview list and click the Properties button. When the Properties button is clicked, the selected object's name, class, GUID and ADS path display.

NOTE: In order to use the sample, you must install the Active Directory Service Interfaces. The Active Directory Service Interfaces can be installed from one of the following:
 * http://www.microsoft.com/technet/prodtechnol/windows2000serv/technologies/activedirectory/default.mspx
 * Microsoft Developer Network CD-ROM

