C#: Block/select a text in a file

B17a9b2aea0edf9b816a5219586791ed
0
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.

Cheers.

1 Reply

Please log in or register to post a reply.

F7a4a748ecf664f189bb704a660b3573
0
anubis 101 Mar 31, 2005 at 14:42

what do you mean by “select” ?