Microsoft KB Archive/192956

{|
 * width="100%"|

HOWTO: Build the ADSI DsBrowse Visual Basic Sample Application

 * }

Q192956

-

The information in this article applies to:


 * Microsoft Active Directory Service Interfaces, versions 2.0, 2.5
 * Microsoft Visual Basic Enterprise Edition for Windows, version 5.0

-

SUMMARY
The DsBrowse Visual Basic sample in the Platform SDK Distributed Services Component's Active Directory Service Interfaces (ADSI) samples does not have a .vbp (project) file. You have to create a new project file to build or use this sample.

MORE INFORMATION
Do the following to create a new project file:


 * 1) Create a new standard EXE project.
 * 2) Remove form1.frm from the project.
 * 3) Under Project References, select Active DS type Library.
 * 4) Under the Project Components, select Microsoft Windows Common Controls 5.0.
 * 5) Save the project as dsbrowse.vbp in the directory where the rest of the files are located.
 * 6) Use the Project AddForms to add main.frm and property.frm. You can safely ignore the warning messages about converting from a previous version.
 * 7) Use the Project AddModules to add vbads.bas.
 * 8) Use the Project AddFiles to add dsvw.res from the directory where the dsbrowse files are located.
 * 9) Change the project properties Startup object to frmBrowseTree.

RESULT: You should now be able to run the project in the Integrated Development Environment (IDE) or build an executable file.