OpenIndex OLE Automation RoutineOpenIndex( indexPath ) Returns True if the index was opened successfully, otherwise False. Example: wilbur and bIndexLoaded are global if an index is already open, then close it If bIndexLoaded Then wilbur.quit bIndexLoaded = False End If Set wilbur = CreateObject("Wilbur.FileIndex") bIndexLoaded = True If Not wilbur.OpenIndex(Text1.Text) Then MsgBox ("Could not load index") End If This example opens an index that has had its name entered in the Text1 field. If an index was already open, it is closed first..
|
Copyright © 1999 RedTree Development Inc. Tous droits réservés. L'information contenue dans ce document est susceptible d'être modifiée sans préavis. Tous les autres produits et sociétés mentionnés sont des marques déposées ou les marques déposées de leurs sociétés respectives ou de leurs détenteurs. |