Home All Groups Group Topic Archive Search About

IFilter in VB6 - Can it be done?

Author
3 May 2009 3:20 PM
Max Plank
I need to create a simple IFilter to work with Windows Search.  This
is for a proprietary database file format (flat file database).  The
basic text filter that comes with Windows Search doesn't cut it, I
guess because the file format mixes binary data with the text, so full
text searches often miss files.

Apparently MS discourages folks from writing IFilters in .NET because
it isn't "native code".  Is this a situation where VB6 could be the
little engine that could?

Any advice appreciated!

-Max

==============================================
Overview of IFilter:

http://msdn.microsoft.com/en-us/library/dd583122.aspx

Author
8 May 2009 1:20 AM
Karl E. Peterson
Max Plank wrote:
> Apparently MS discourages folks from writing IFilters in .NET because
> it isn't "native code".  Is this a situation where VB6 could be the
> little engine that could?
>
> Any advice appreciated!

No direct experience, so best I can do is take a wild swing.  Have you looked at
Edanmo's OLE typelibs and interface examples?

http://www.mvps.org/emorcillo/en/code/vb6/index.shtml

I'd definitely start there.
--
..NET: It's About Trust!
http://vfred.mvps.org
Author
11 May 2009 8:46 PM
Max Plank
On May 7, 9:20 pm, "Karl E. Peterson" <k***@exmvps.org> wrote:

> No direct experience, so best I can do is take a wild swing.  Have you looked at
> Edanmo's OLE typelibs and interface examples?
>
> http://www.mvps.org/emorcillo/en/code/vb6/index.shtml
>
> I'd definitely start there.
> --
> .NET: It's About Trust!
>  http://vfred.mvps.org

I'd forgotten about emorcillo's site.  I'll have a look around and
report back.  Thanks!
Author
14 May 2009 2:58 PM
Markus Braun
hello,
is there already a solution?
I also try to use the IFilter.dll from adobe to index pdf from vb6. Is 
there a to make that possible?
best regards
Markus

Am 11.05.2009, 22:46 Uhr, schrieb Max Plank <zanbi***@gmail.com>:

Show quoteHide quote
> On May 7, 9:20 pm, "Karl E. Peterson" <k***@exmvps.org> wrote:
>
>> No direct experience, so best I can do is take a wild swing.  Have you 
>> looked at
>> Edanmo's OLE typelibs and interface examples?
>>
>> http://www.mvps.org/emorcillo/en/code/vb6/index.shtml
>>
>> I'd definitely start there.
>> --
>> .NET: It's About Trust!
>>  http://vfred.mvps.org
>
> I'd forgotten about emorcillo's site.  I'll have a look around and
> report back.  Thanks!
Author
27 May 2009 12:46 AM
Max Plank
On May 14, 10:58 am, "Markus Braun" <to***@web.de> wrote:
> hello,
> is there already a solution?
> I also try to use the IFilter.dll from adobe to index pdf from vb6. Is  
> there a to make that possible?
> best regards
> Markus

PDF filters for Windows search already exist, here for example:
http://ifilter.org/Links.htm

I need to create an iFilter for a proprietary database file from
scratch.  I haven't had time yet to persue that.

-Max