Windows Phone Developers

Tuesday, August 12, 2008

Get Stored Text from Clipboard using VB.NET

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

See Also:

Clear Clipboard Content using VB.NET

Get Stored Images from Clipboard using VB.NET

Digg Technorati Delicious StumbleUpon Reddit BlinkList Furl Mixx Facebook Google Bookmark Yahoo
ma.gnolia squidoo newsvine live netscape tailrank mister-wong blogmarks slashdot spurl StumbleUpon

No comments:

Post a Comment