April 2004
Beginner
416 pages
11h 3m
English
In this lab, you will import the metabase that was exported in Lab 38.
Open Notepad.exe.
On the top of a blank page, set Option Explicit.
Save your file as Lab39Solution.vbs.
Declare the following variables: strPassword, strFilePath, strMetabasePath, intFlags, locatorObj, providerObj, and computerObj. Your completed Header information section will look like the following:
Option Explicit Dim strPassword Dim strFilePath Dim strSourceMetabasePath Dim strDestinationMetabasePath Dim intFlags Dim locatorObj Dim providerObj Dim computerObj
Create four constants to control the import behavior. CONST IMPORT_CHILDREN = 0 recursively imports the subkeys of the specified key; CONST IMPORT_INHERITED =1 imports the inherited ...