Visual Basic .NET » Windows Forms
Question about FULLPATH property of windowsform.treeview control -- rhaazy --


~USING C#

I need to be able to scan the fullpath of a treeview node for a particular word.
If the word is found don't execute code.

psuedo code:

if (the WORD is not found)
execute

the fullpath of a node looks like this:

Crap\Crap\WORD\Crap or Crap\WORD\Crap\Crap\Crap

I DONT want the function to catch stuff like this:

Crap\abc WORD\Crap or Crap\abcWORD\Crap

any help would be appreciated thanks.

[Submit Comment]Home