Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: VB.NET
Expertise: Beginner
Feb 13, 2006

Copy Selected Text Within a Browser to a Clipboard

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)
Mike McGlynn
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap