devxlogo

ClipboardSetText – Copying or appending text to the clipboard

ClipboardSetText – Copying or appending text to the clipboard

' copy or append text to the clipboardSub ClipboardSetText(ByVal text As String)    ClipboardSetText(text, False)End SubSub ClipboardSetText(ByVal text As String, ByVal append As Boolean)    If append Then        text = ClipboardGetText() & Environment.NewLine & text    End If    Clipboard.SetDataObject(text)End Sub

devx-admin

Share the Post: