tom.ITextRange Find Reguler Expresssion does not work by: Just Me
|
Using FindText = aRange.FindTextStart(aFindString, aCount, aFlags)
aCount=236 which sounds right for Story
If aFindString="the" and aFlags=0 the word "the" is found.
However, if aFindString="t.*" and aFlags=8 the word "the" is not found
Does the RichTextBox really support Regular Expressions?
Thanks for any info
|
| | Reply: by:craigv_@online.microsoft.com (Craig Vick [MSFT])
|
| | I'm not sure what RichTextBox you're using. The .Net one and the VB6 one don't support regular expressions. Neither has a FindTextStart method either.
Craig VB.Net Team -------------------------------------------------------------------- This reply is provided AS IS, without warranty (express or implied).
|
| | Reply: by: Just Me
|
| | Your right. I should have asked if the ITextDocument interface on the DLL the RichTextBox is built on supports regular expressions (what version of the underlying control is used?).
Is there any problem using the tom interface with a RichTextBox handle? Seems to work Ok.
Also, why are there no events shown in the IDE for DragDrop.
Thanks a lot
|
0 Comments:
Post a Comment
<< Home