Clear the clipboard. Set the clipboard mode to text. Then set the clipboard text to the caller ID text. Check out the CLIPBOARD object in the VB help file. It tells you how to use all the methods and properties of the clipboard.
Unconfigured Ad Widget
Collapse
Announcement
Collapse
No announcement yet.
Copying to clipboard from VB
Collapse
X
-
Copying to clipboard from VB
Has anyone ever copied data from a VB program to the Windows clipboard? Is this possible? I would like to copy an incoming CallerID phone number to the Windows clipboard so the user could then paste it on a PC5250 green screen as a parameter to an RPG phone # lookup pgm.
-
Copying to clipboard from VB
Thanks so much for your reply. I checked out the VB Help for clipboard and the pertinent code is: Clipboard.Clear Clipboard.SetText(CallerIDNo) This works like a charm. I am able to paste the CallerIDNo to a green screen by setting my cursor & hitting paste. JoAnn
Comment
Comment