Stream Reader Problem
Posted
by narmadha
on Stack Overflow
See other posts from Stack Overflow
or by narmadha
Published on 2010-05-12T08:23:52Z
Indexed on
2010/05/12
8:34 UTC
Read the original article
Hit count: 174
c#
Hi,
I am using StreamReader
in C#.net for reading RTF files.
It was working, but after certain time, it's not working. Can anyone help me?
My Code is:
StreamReader reader = new StreamReader(AppDomain.CurrentDomain.BaseDirectory
+ @"\Features.rtf");
string strfeatures = reader.ReadToEnd();
Now i am getting the following content in strfeatures
i.e.
{\rtf1\ansi\ansicpg1252\deff0\deflang2057{\fonttbl{\f0\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit 5.41.15.1515;}\viewkind4\uc1\pard\f0\fs20\par
}
I don't know why? Can anyone help me?
© Stack Overflow or respective owner