Send TEXT to the Clipboard using VB?? 
Author Message
 Send TEXT to the Clipboard using VB??

I would like to know how to send text to the clipboard using Visual Basic?

I would end up with a variable or maybe a file that contains some text.  I
would then like to send that text to the Clipboard so that the text can then
be inserted in to what ever program the user wants.

Yes, I'm new to Visual Basic ... Eric



Wed, 18 Jun 1902 08:00:00 GMT  
 Send TEXT to the Clipboard using VB??
Easy =)
(but one of those dumb things that you could spend forever finding, I know I
did =))

Clipboard.SetText
(e.g clipboard SetText mydata$ or clipboard.SeText.text1.text)

On the same note, you can retrieve it using clipboard.GetText (if I remember
correctly)

--
Virulent,
Virutech Industries
http://virutech.cjb.net



Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. sending text to clipboard

2. Send Text to Clipboard?

3. Sending text to the clipboard.

4. Sending Text To Clipboard

5. Sending plain text to clipboard

6. VB: Copy Text From DOS Window To Clipboard As Text

7. sending a picture (from clipboard) by using Winsock

8. using MailItem.body to insert text but text is lost when sending mail OL2002 – extended

9. using MailItem.body to insert text but text is lost when sending mail OL2002

10. copying text to the windows clipboard using DHTML

11. Text to Clipboard using VBScript?

12. Convert HTML to text using Win32 clipboard calls?

 

 
Powered by phpBB® Forum Software