C#: Block/select a text in a file

swinghead 101 Mar 31, 2005 at 14:39

Hi folks,

Can any one tell me how i could block a text or perform a \^a (select all) task using some method.

I know that if you open an app and use the sendkey method u could literally do this on any of the opened apps.
But my case i need to open an existing file say FILE1.txt
FileStream fs = File.open (@”c:\FILE1.txt”);
and then i need to select all the content present in this file . What do I do for this.

Please help.


1 Reply

Please log in or register to post a reply.

anubis 101 Mar 31, 2005 at 14:42

what do you mean by “select” ?