Novell Home

TID102379 (VBXDSSrc) - VB Sample: Searching NDS and Reading Attributes

From Developer Community

AUTHOR: WSC DOCUMENT ID: TID102379 DOCUMENT REVISION: DATE: 2000/11/3 6:48 AM ALERT STATUS: Yellow INFORMATION TYPE: Issue README FOR: VBXDSSRC.EXE NOVELL PRODUCT CLASS:

NetWare API

NOVELL PRODUCT and VERSION:

NetWare NDK Jul00

CATEGORY:

none

COMPILER:

Visual Basic 5.0

TARGET OS:

Windows 98

ABSTRACT:

Description Sample code which shows how to use Novell ActiveX controls for searching NDS objects. This sample allows you to search for any NDS object providing a name pattern like "W*" and a start context for the search

To keep the code simple no error handling is implemented

Usage:

  • At startup the application reads all available NDS classes

(i.e., object types) and places them into a combo box

  • The NDS fields relevant for that NDS class are stored in

a 2nd combo box

  • As default search pattern the app takes the first letter

of your login name followed by an "*" (e.g., "W*")

  • As default starting context for the search the app uses

your current container

  • If the search button is pressed, the app starts the search and

stores the results in a list box

  • As one entry from the result list is selected, the selected

NDS attribute will be read for the selected object

DETAILED DESCRIPTION



DISCLAIMER THE ORIGIN OF THIS INFORMATION MAY BE INTERNAL OR EXTERNAL TO NOVELL. NOVELL MAKES EVERY EFFORT WITHIN ITS MEANS TO VERIFY THIS INFORMATION. HOWEVER, THE INFORMATION PROVIDED IN THIS DOCUMENT IS FOR YOUR INFORMATION ONLY. NOVELL MAKES NO EXPLICIT OR IMPLIED CLAIMS TO THE VALIDITY OF THIS INFORMATION.


Self-Extracting File Name: VBXDSSRC.EXE

Files Included: Size Date Time

VBXDSSRC.TXT (this file) DSSEARCH.VBP 653 11-3-00 6:48 AM DSSEARCH.VBW 49 11-3-00 6:48 AM FORM1.FRM 8089 11-3-00 6:48 AM FORM1.FRX 8 11-3-00 6:48 AM VBXDSSRC.MSG 980 11-3-00 6:48 AM

vbxdssrc.exe

vbxdssrc.exe31.0 K2005-04-06

--devsup

Novell® Making IT Work As One

© 2008 Novell, Inc. All Rights Reserved.