How To Build the ADSI DsBrowse Visual Basic Sample Application (192956)



The information in this article applies to:

  • Microsoft Active Directory Service Interfaces 2.0
  • Microsoft Active Directory Service Interfaces 2.5
  • Microsoft Visual Basic Enterprise Edition for Windows 5.0

This article was previously published under Q192956

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.

REFERENCES

You can download the ADSI SDK and samples from the Platform SDK Components for Distributed Services Developers, which can be found at:

Modification Type:MinorLast Reviewed:3/3/2005
Keywords:kbhowto kbnetwork KB192956