Get selected text in WebBrowser (PocketPC2003 in .NET)

Hello all,
do you have any idea how could I retrieve the text that the user has selected in a Web Browser control (the one found in CF2 or the one from opennetcf.org)?
I want to do this so as to know what word or phrase the user has selected.
I'm programming n VB .NET and the only solution I found till now is the control wrapper provided by Intelliprog.com which has this functionality.
Visual Studio 2005 - Compact framework
Thanx in advance,
sakis.
[489 byte] By [sakis_ser] at [2007-12-17]
# 1

I found this response to the scenario (generally, getting text from the HTML control) in the .NET CF 2.0 FAQ on http://msdn.microsoft.com/smartclient/community/cffaq/cf20.aspx

Doesn’t appear that the WebBrowser control in CF 2 supports text access very well…

Hope this information helps you.

- Jay

Can I get the WebBrowser.TextDocument property?

Q: IntelliSense say that I can get and set the DocumentText property on a WebBrowser control. But when I try to do a get it will not compile.

Casey Chestnut, 30 July 2004

A: This is a bug in the IntelliSense documents. The Get accessor is not supported for the DocumentText property due to the behavior of the native WebBrowser control.

It may be possible to workaround this in native code. You might be able to do a Select All and send a WM_COPY message to the control and then read the clipboard. Pocket IE supports copying text to the clipboard so that should be supported.

Sergiy Kuryata, Microsoft; and Peter Foot, MVP, Windows Embedded, 9 August 2004 #

JayMcLain at 2007-9-9 > top of Msdn Tech,Smart Device Development,Smart Devices VB and C# Projects...