Search results

  1. D

    Array - Split Function

    I'm sorry Bob, I just saw your message. It seems that Wazz code cannot be used in my event, because it won't handle spaces. This is my complete code (without the error handling) of the event that builds the treeview and search throughout its nodes.text by using a textbox: Private Sub...
  2. D

    Array - Split Function

    Ok. Here we go. I followed your advice and finally I could move from that line:) Now I got an Error 5 "Invalid procedure call or argument" on this line, strOperator = Left(varWords(lngLoop), InStr(varWords(lngLoop), " ") - 1) This is the code modified from your suggestions If...
  3. D

    Array - Split Function

    Thank you very much Wazz, I'll try it right now. I'll keep you posted. Thanks again, Diego
  4. D

    Array - Split Function

    Thank you very much wazz. This is much better, 'cause I get this in the immediate window vItem 0 = Sistema vItem 1 = AND vItem 2 = Nervioso However, I still get the same error on the same line booMatched = (InStr(1, nodNode.Text, varWords(1), vbTextCompare) > 0) The error points to varWords...
  5. D

    Array - Split Function

    Hello, I'm trying to build a function that splits the nodes of a treeview in order to make it searchable by using the boolean terms AND, OR, and NOT. The search is intended to be done by using just one textbox So, here is what I have until now: 1. The event which loads the treeview and...
Back
Top Bottom