Updating the Catalog Status
Note
Indexing Service is no longer supported as of Windows XP and is unavailable for use as of Windows 8. Instead, use Windows Search for client side search and Microsoft Search Server Express for server side search.
This code segment uses the IsRunning method of the gCiAdmin AdminIndexServer object to decide whether to update the status of the all catalogs in the list view on the form. The Timer1_Timer procedure is called when the timer event occurs, which is at five second intervals.
Private Sub Timer1_Timer()
If (gCiAdmin.IsRunning) Then
Call MakeCatalogColumns
End If
End Sub