Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
2.1 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  4. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  5. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  6. // PARTICULAR PURPOSE.
  7. //
  8. // Copyright (c) 1999 Microsoft Corporation. All Rights Reserved.
  9. //
  10. // Sample Name: VBAdmin - Sample Visual Basic Administration Application
  11. //
  12. //--------------------------------------------------------------------------
  13. Description
  14. ===========
  15. The VBAdmin sample is an example Windows application written in Visual
  16. Basic that illustrates how to administer Indexing Service using the
  17. AdminIndexServer, CatAdm, and ScopeAdm Automation objects of the Admin
  18. Helper API.
  19. Path
  20. ====
  21. Source: mssdk\samples\winbase\indexing\VBAdmin\
  22. User's Guide
  23. ============
  24. * To build the sample
  25. 1. In the Visual Basic development environment, open the
  26. VBAdmin.vbp project in the source path of the sample.
  27. 2. In the File menu, select Make VBAdmin.exe.
  28. 3. In the Make Project dialog box, click OK.
  29. * To start or stop Indexing Service using the sample
  30. 1. Click Start to start Indexing Service if it isn't running.
  31. 2. Click Stop to stop Indexing Service if it is running.
  32. * To create a new catalog using the sample
  33. 1. In the list box along the left side of the application,
  34. click the secondary mouse button on the "Catalogs" entry.
  35. 2. In the Create New Catalog dialog box, enter the name and
  36. location of the new catalog.
  37. 3. Click OK.
  38. * To delete a catalog using the sample
  39. 1. In the list box along the left side of the application,
  40. click the secondary mouse button on the catalog you want
  41. to delete.
  42. 2. In the Catalog Administration dialog box, select Remove
  43. Catalog.
  44. 3. Click OK.
  45. Programming Notes
  46. =================
  47. The VBAdmin sample illustrates how you can use the AdminIndexServer,
  48. CatAdm, and ScopeAdm Automation objects of the Admin Helper API to
  49. administer catalogs and scopes.