HOWTO: Build the ADSI DsBrowse Visual Basic Sample Application

ID: Q192956

The information in this article applies to:

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:

   http://msdn.microsoft.com

Additional query words:
Keywords          : kbnetwork kbADSI kbSDKPlatform kbVBp500 kbGrpNet 
Version           : WINDOWS:5.0
Platform          : WINDOWS
Issue type        : kbhowto

Last Reviewed: February 21, 1999