inspector text
Find It. Control It. You're In Charge.

 

Using inspector text In Your Programming Code
Visual Basic Projects, Excel VBA Macros, Etc.
 

 

You can use inspector text in your programming code, such as Visual Basic projects, Excel VBA macros, Word VBA macros, any other application's VBA macros, or from any other code that can call a COM (ActiveX, OLE) server.

As a developer, you can freely distribute the free edition of inspector text to your users.

 

Here's an example:

   Dim Oit As Object
   Dim strRet as String
   Set Oit = CreateObject("Inspector_Text.clsInspectorText")
   strRet = Oit.itSEARCH("abc", "b")
   Debug.Print strRet
   Set Oit = Nothing


Alternatively, if you prefer Early Binding, you could set a reference (in Excel's VBE, choose Tools | References) to inspector text, and do this:

   Dim Oit As Inspector_Text.clsInspectorText
   Dim strRet as String
   Set Oit = CreateObject("Inspector_Text.clsInspectorText")
   strRet = Oit.itSEARCH("abc", "b")
   Debug.Print strRet
   Set Oit = Nothing


Note that Early Binding probably won't be a major advantage with the kind of work inspector text does, and it may require removing and recreating the reference when new versions of inspector text are installed in the future.

 

In future versions I may need to have inspector text detect what client is using it and restrict random clients' usage, requiring their developers to license it. But I'll be sure to allow Excel's VBA to use it without restriction. Any future restriction would apply only to other random EXEs trying to use inspector text , not to Excel VBA.
 

 

PrecisionCalc Home Page