Code to Import a Resource
In this example, the site-level Predictor resource that was exported in Code to Export a Resourceis now imported. The code tests that it exists by displaying a resource property.
oSiteConfig.ImportResource "c:\ExportedFile.txt"
Set x = oSiteConfig.Fields("oPredictorAtSiteLevel").Value
y = x.Fields("f_UseExternalDB").Value
MsgBox y, , "f_UseExternalDB value after import"