Search and Replace

Visual Basic User's Guide > A Word Processor

Searching and replacing is entirely done in Text Control. You just have to assign a value of 1 for Search or 2 for Search And Replace to the FindReplace method. Text Control then opens the Windows Common Dialog box.