Extract Text from Clipboard using Vb.NET / Extract Clipboard Text from using Vb.NET
Sub Get_Text_From_ClipBoard()
Try
If My.Computer.Clipboard.ContainsText() Then
Dim ClipText As String
ClipText = My.Computer.Clipboard.GetText
MsgBox(ClipText)
Else
MsgBox("No Text in ClipBoard")
End If
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
No comments:
Post a Comment