filecataloger.com > Script > Function -- LoadFileContents

LoadFileContents Function

Remarks:
Load File Contents from physics disk for the specific file catalog item list.
Syntax:

LoadFileContents(FileItemList)

Arguments:
Name Description
FileItemList The file catalog item list to load content.
 
return value:
Value Description
True Loading is successfully.
Fail Loading is failed.
example:

Dim DBPath
DBPath = "c:\sample.fdb"

CreateDB(DBPath)
OpenDB(DBPath)

Set fi = ImportFile("C:\a1.txt", CatalogDB.CatalogRoot)
Set fi = ImportFile("C:\a2.txt", CatalogDB.CatalogRoot)

IsOK = LoadFileContents(CatalogDB.CatalogRoot.SubItems)

If IsOK Then MsgBox "LoadFileContents is ok!"

   
See Also:

LoadFileContent

ClearFileContent

ClearFileContents

ViewFileContent

©2008 Greendgh Software. All rights reserved. Privacy statement