Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: Copy & Pasting from VB to Word or NotePad



[EMAIL PROTECTED] (Lumpierbritches) wrote:

>Thank you in advance for any and all assistance.
>
>I have a VB 6 application and with a cmdCopy button, I would like to open a
>file, C:\program files\program directory\program file.txt and copy to the end
>of that text file information data on the clipboard.
>
>Is there a place for code samples to do this?
>
>Michael

Open the file for "append", paste the clipboard text into a string variable,
then print the variable to the file (adding vbcrlf as needed).

More about me: http://www.jecarter.com/
VB3/VB6/C/PowerBasic source code: http://www.jecarter.com/programs.html
Freeware for the Palm with NS Basic source code: http://nsb.jecarter.com
Drivers for Pablo graphics tablet and JamCam cameras: http://home.earthlink.net/~mwbt/
johnecarter [EMAIL PROTECTED] mindspring dot.dot com. Fix the obvious to reply by 
email.



<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.