The information in this article applies to:
SUMMARYSsadovb.exe is a sample file that demonstrates how to use an ActiveX Data Objects (ADO) Recordset with the OLE DB Provider for Site Server (MSSearchSQL) in a Visual Basic application to query Web site data. MORE INFORMATIONThe following file is available for download from the Microsoft
Download Center. Click the file name below to download the file: Ssadovb.exeFor more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address http://www.microsoft.com/downloads/search.aspand then click How to use the Microsoft Download Center. Sample File InformationThe sample lets a user specify a query string, scope and sort order. The sample shows the filename, path and the last write-time for all documents in the result set. You may also sort the results by rank (default), filename, path or write-time based on the current selection in the Sort box.The following code opens an ADO Recordset and submits a query to the Site Server using the OLE DB provider:
Run the sample and type the query in the Query text box. Click the Go
command button. Either the search results display or the following message
appears:
The sample also prints the current SQL statement sent by the application in the debug (immediate) window in Visual Basic 5.0 IDE. To make sure the catalog is ready for the search, run the Site Server Admin tool using the following steps:
Additional query words: adovb
Keywords : kbfile |
Last Reviewed: December 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |