Hi folks,
i need application to develop,while scanning a document i need to extract the text from the document and dispaly in the text box.Can any one help me about this task
Its very urgent.Pls help me.
Hi folks,
i need application to develop,while scanning a document i need to extract the text from the document and dispaly in the text box.Can any one help me about this task
Its very urgent.Pls help me.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
adithya dugyalaPosted Jul 2, 2008, 5:04 AM
Sunny ChenPosted Jul 2, 2008, 5:02 AM
Try the code below:
StreamReader fs = File.OpenText("c:\\test.txt");
textBox1.Text = fs.ReadToEnd();
fs.Close();