Use the following code to copy selected text within a Web browser to a clipboard in VB.NET 2.0:
Dim docx As HtmlDocument = WebBrowser1.Document
Dim readme As Object = Nothing
'assume user has made selection and clicked a toolbar button
docx.ExecCommand("copy", True, readme)