Hello folks,

VBsearch32.DLL is  interesting .DLL solution  for very
fast  "Search and Replace string"  in any text box for 
Windows  OS. It is  especially useful in VB 3, 4 and 5
as well as Delphi 2.0 & 3.0, and C/C++.

Search for a string in a "VBtextbox" with VB functions
is  very  slow  especially if you have a string bigger
than 32kb. With this VBsearch32.DLL  you'll be able to
find string position in less than 1/10 second anywhere
in  a text even when text is bigger than 65536Kb. This 
is also "poor"  search without indexes thru the entire
text. Functions are written in C++ and by using little
tricks with pointers and that's way it is so FAST!

You can  use my functions to search thru the files and
directories which is then matter of VB programming not
C++. I  am  writing  additional part for search-thru-
files-and-directories that will have something similar
to dtSearch.com  but this one will be much smaller and
insertable  to  your  projects  and  faster than VB of 
course.

Here  is  a demo of it and an example how to use it in
VB4. Briefly, here is a DECLARATION for VB4 or VB5:

Declare Function str_find Lib "vbsearch32.dll" Alias "_str_find@16" (ByVal txt As String, ByVal wrd As String, ByVal tlen As Long, ByVal spos As Long) As Long
Declare Function str_replace Lib "vbsearch32.dll" Alias "_str_replace@24" (ByVal txt As String, ByVal wrd1 As String, ByVal wrd2 As String, ByVal tlen As Long, ByVal spos As Long, newlen As Long) As Long

Put VBsearch32.DLL in ?:\windows\system (system32) or,
winnt\system32  directory  or  in your local directory 
but  then  make  sure you have whole path specified in 
DECLARATION !!

FIND:
fpos = str_find(Text1, Text2, Len(Text1), spos)

REPLACE:
fpos = str_replace(Text1, Text2, Text3, Len(Text1), spos, newlng)

fpos      = find position
spos      = start search position
text1     = text in which you search for
text2     = what you search for
len(text1)= length of text to search for
newlng    = length of new string

Sometimes  in  DEMO, you'll get the Message box about
shareware version and beep of VBsearch32.DLL. 
In a registered version there is none.


Author thinks that he deserves a little contribution
and asks $2.00 for it.

Please send $2.00 with your E-MAIL ads to:
Mike D.
857 B Allerton str.
Kent, OH 44240
USA

I'll send you "clean" DLL file without MSGBOX and Beep.

Of course after you receive it you can share it with
your  neighborhood but imagine that you wrote it and 
somebody does the same thing to you ?

If you are interested for VB3 send me your E-mail and
I'll send you an example of it.

Source code available for $35.00

Comments are welcome:
e-mail: 9a@iname.com
or knamjesn@kent.edu

P.S.
If you have a job with programming projects/problems located
in  KENT, AKRON, CLEVELAND area I am willing to write/try to
solve  it,  of  course if you are willing to pay for it. :-)

I write applications in WATCOM 11, C/C++ and MS Visual Basic
3,4,5. I have 6 years  of experience  with C/C++ and VB, and
10  years  total  of  programming.  I'm  not  experienced in 
database design,  but  I  do  a  lot of I-NET programming in 
conjunction   with   Web  site  creation,  and  non-Internet 
projects. All flavors of VBXs, OCXs, DLLs, APIs, MFCs, HLPs,
VBScript, JavaScript, ActiveX, Dynamic HTML, CGI, TAPI .... 
included in 6' tall and 30 years old package.

If you'd like to contact me, I am available through my e-mail
address. Therefore, if you are interested in anything above,
just drop me an email for a job you need to be done. 

Mike
e-mail: 9a@iname.com
or knamjesn@kent.edu
