Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
As a enhancement of one Vb.net Project i have to work on indexing service
I am able to search text file ,doc file ,aspx except html file
I am using 64 bit window 7 operating system.




I think some dll support problem is there.

Please give any valuable solution if possible.

Thanks

What I have tried:

C#
Dim strCatalog As String

       strCatalog = "CataLogTest"


       Dim strQuery As String


       strQuery = "Select DocTitle,Filename,Size,PATH,URL  from SCOPE() where FREETEXT('" & TextBox1.Text & "')"

       '
       Dim connString As String = "Provider=MSIDXS.1;Integrated Security .='';Data Source='" & strCatalog & "'"

       Dim cn As New System.Data.OleDb.OleDbConnection(connString)
       Dim cmd As New System.Data.OleDb.OleDbDataAdapter(strQuery, cn)
       Dim testDataSet As New DataSet()

       cmd.Fill(testDataSet)

       Dim source As New DataView(testDataSet.Tables(0))
       DataGrid1.DataSource = source
       DataGrid1.DataBind()
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900