filecataloger.com > Script > Function -- LoadFileContent

LoadFileContent Function

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

LoadFileContent(FileItem)

Arguments:
Name Description
FileItem The file catalog item 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:\a.txt", CatalogDB.CatalogRoot)

IsOK = LoadFileContent(fi)

If IsOK Then MsgBox "LoadFileContent is ok!"

   
See Also:

LoadFileContents

ClearFileContent

ClearFileContents

ViewFileContent

©2008 Greendgh Software. All rights reserved. Privacy statement