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: VB7
Expertise: beginner
Jun 16, 2003

ClipboardSetText - Copying or appending text to the clipboard

' copy or append text to the clipboard
Sub ClipboardSetText(ByVal text As String)
    ClipboardSetText(text, False)
End Sub

Sub ClipboardSetText(ByVal text As String, ByVal append As Boolean)
    If append Then
        text = ClipboardGetText() & Environment.NewLine & text
    End If
    Clipboard.SetDataObject(text)
End Sub
Francesco Balena
 
Comment and Contribute

 

 

 

 

 


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

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date