HOWTO: Build the ADSI DsBrowse Visual Basic Sample Application
ID: 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:
- Create a new standard EXE project.
- Remove form1.frm from the project.
- Under Project References, select Active DS type Library.
- Under the Project Components, select Microsoft Windows Common Controls 5.0.
- Save the project as dsbrowse.vbp in the directory where the rest of the files are located.
- Use the Project AddForms to add main.frm and property.frm. You can
safely ignore the warning messages about converting from a previous
version.
- Use the Project AddModules to add vbads.bas.
- Use the Project AddFiles to add dsvw.res from the directory where the
dsbrowse files are located.
- 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; winnt:2.0,2.5
Platform : WINDOWS winnt
Issue type : kbhowto