>Hello everyone,
>I am working on dictionary application. When I try to copy word’s pronunciation from web browser and paste on textbox its loss all fonts and formation. Please help me which control I use. I try Richtext and textbox…
>Thank You,
Since you are copying HTML try the Microsoft.WebBrowser control. Initialize it to an empty page:
thisForm.oBrowser.Navigate("about:blank")
Then a function similar to this should work:
LPARAMETERS theCopiedHTMLString
WITH oBrowser
.Document.Open()
.Document.Clear()
.Document.Write(theCopiedHTMLString)
.Document.Close()
ENDWITH
But there's no quarantee that this will work if the source HTML has styles applied etc,etc...
The other alternative is to find an HTML to RTF converter - but it will suffer the same problems as above..