Article ID: 179326
Article Last Modified on 3/14/2005
119591 How to Obtain Microsoft Support Files from Online Services
Dim RS As New ADODB.Recordset
Const adOpenForwardOnly = 0
Connect = "provider=msidxs"
CommandText = "SELECT Filename, Path, Size, Write FROM Scope('" +
Chr(34) + Scope.Text + Chr(34) + "') WHERE " + QueryText.Text + "
ORDER BY " + Sort.Text
' Print SQL text in debug window.
Debug.Print CommandText
RS.Open CommandText, Connect, adOpenForwardOnly
Run the sample and type the query in the Query text box. Select a scope
(the folder containing the documents to search) and click GO. Either the
search results will be displayed or the "No matches found..." message. The
sample also prints the current SQL statement sent by the application in the
debug (immediate) window in Visual Basic 5.0 IDE.
Additional query words: Idxadovb
Keywords: kbinfo kbdownload kbfile KB179326