.Net 2002 Open a text file and append

L

Lumpierbritches

Thank you in advance for any and all assistance. I'm trying to take text that
has been copied onto the clipboard in my vb.net 2002 application and paste into
a file that a command button opens, and append it to the bottom of the file. In
VB6.0 I was able to it with clipboard and file open commands along with
sendkeys. I'm having a terible time in .net 2002 to get it to work.

I would appreciate any help. Thank you again.

Michael
 
H

Herfried K. Wagner [MVP]

* (e-mail address removed) (Lumpierbritches) scripsit:
Thank you in advance for any and all assistance. I'm trying to take text that
has been copied onto the clipboard in my vb.net 2002 application and paste into
a file that a command button opens, and append it to the bottom of the file. In
VB6.0 I was able to it with clipboard and file open commands along with
sendkeys. I'm having a terible time in .net 2002 to get it to work.

Have a look at the 'Clipboard' class and the classes in the 'System.IO'
namespace ('StreamWriter').
 
L

Lumpierbritches

Thank you for the tip. I have the textbox that is able to be copied to the
clipboard, but I get StreamWriter undeclared. I've tried dimensioning the
statement. Please give me some assistance?

Michael
 
H

Herfried K. Wagner [MVP]

* (e-mail address removed) (Lumpierbritches) scripsit:
Thank you for the tip. I have the textbox that is able to be copied to the
clipboard, but I get StreamWriter undeclared. I've tried dimensioning the
statement. Please give me some assistance?

I have posted a solution as a reply to your other thread. Please always
stay in the same thread with the same problem.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top