|
-
Aug 1st, 2002, 12:37 AM
#1
[RESOLVED] Clipboard
How does one use the ClipBoard object.
In VB6 we have getText and setText.
Here how should GetObject and setObject be used?
Help me with an eg?
-
Aug 1st, 2002, 08:21 AM
#2
New Member
Very easy !!
Place data on clipboard:
If textBox1.SelectedText <> "" Then
Clipboard.SetDataObject(textBox1.SelectedText, True)
End If
Get data from clipboard:
MsgBox(Clipboard.GetDataObject.GetData _
("System.String").ToString())
You need to add data type validation !!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|