DHTML Sample

Note  Indexing Service is obsolete as of Windows XP. Instead, use Windows Search.

The DHTML sample (CiDHtml.htm) uses Microsoft Visual Basic Scripting Edition (VBScript) to create a client-side query form that queries an Indexing Service catalog. The sample uses the Query Helper API for the query and an ActiveX Data Objects (ADO) Recordset object to return the results.

Source: mssdk\samples\winbase\indexing\DHtml\

ms692876.wedge(en-us,VS.85).gifTo run the sample

  1. Load CiDHtml.htm into any DHTML-capable browser.
  2. Enter the query text in the first text box using Indexing Service Query Language Dialect 2.
  3. Click Go to run the query.

Programming Notes

CiDHtml.htm uses DHTML to build a client-side query form that can search an Indexing Service catalog. The sample uses the Query object of the Query Helper API and the ADO Recordset object. The sample uses VBScript to program the objects. Data entry uses an HTML form, and the query results are formatted using DHTML.

 

 

Send comments about this topic to Microsoft

Build date: 6/18/2010