Jump to content


C#: Block/select a text in a file


  • You cannot reply to this topic
1 reply to this topic

#1 swinghead

    New Member

  • Members
  • Pip
  • 1 posts

Posted 31 March 2005 - 02:39 PM

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.

#2 anubis

    Senior Member

  • Members
  • PipPipPipPip
  • 2225 posts

Posted 31 March 2005 - 02:42 PM

what do you mean by "select" ?
If Prolog is the answer, what is the question ?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users