Click here to Skip to main content
15,900,477 members
Home / Discussions / C#
   

C#

 
GeneralRe: firewall Pin
Colin Angus Mackay23-Jun-04 23:03
Colin Angus Mackay23-Jun-04 23:03 
GeneralTable problem (Xml) Pin
bertcox12-May-04 20:40
bertcox12-May-04 20:40 
GeneralRe: Table problem (Xml) Pin
Aryadip12-May-04 21:20
Aryadip12-May-04 21:20 
GeneralScroll Bar Pin
sreejith ss nair12-May-04 19:18
sreejith ss nair12-May-04 19:18 
GeneralRe: Scroll Bar Pin
Heath Stewart13-May-04 2:54
protectorHeath Stewart13-May-04 2:54 
GeneralText Readers, Streams, *ugh* Pin
gUrM33T12-May-04 17:42
gUrM33T12-May-04 17:42 
GeneralRe: Text Readers, Streams, *ugh* Pin
Paul Watson12-May-04 21:23
sitebuilderPaul Watson12-May-04 21:23 
GeneralRe: Found an alternate way ... Pin
gUrM33T13-May-04 0:23
gUrM33T13-May-04 0:23 
... but I'm not sure if its the right one. Now my class looks like this:
public class LiteHTMLReader
{
  private System.IO.Stream  oHtmlStream;

  public long Read(string htmlText)
  {
    using (this.oHtmlStream = new System.IO.MemoryStream(System.Text.Encoding.Unicode.GetBytes(htmlText)))
    {
      long lCharCount = this.parseHTMLDocument();
      return (lCharCount);
    }
  }

  public long ReadFile(string pathToFile)
  {
    using (System.IO.StreamReader sr = new System.IO.StreamReader(pathToFile, true))
    {
      string strFileData = sr.ReadToEnd();
      return (this.Read(strFileData));
    }
  }
}
I dunno why but I dont think this is the actual way to do it. Can someone clear my doubts?

Heath Stewart, Mike Dimmick, any other C# guru, where are you guyz? Please help.

Thanks,

Gurmeet
BTW, can Google help me search my lost pajamas?

My Articles: HTML Reader C++ Class Library, Numeric Edit Control

GeneralRe: Text Readers, Streams, *ugh* Pin
Heath Stewart13-May-04 2:52
protectorHeath Stewart13-May-04 2:52 
GeneralRe: Text Readers, Streams, *ugh* Pin
Mike Dimmick13-May-04 4:37
Mike Dimmick13-May-04 4:37 
GeneralRe: Text Readers, Streams, *ugh* Pin
gUrM33T13-May-04 14:57
gUrM33T13-May-04 14:57 
GeneralRe: Text Readers, Streams, *ugh* Pin
Heath Stewart13-May-04 16:51
protectorHeath Stewart13-May-04 16:51 
GeneralRe: Text Readers, Streams, *ugh* Pin
gUrM33T13-May-04 18:06
gUrM33T13-May-04 18:06 
GeneralRe: Text Readers, Streams, *ugh* Pin
Heath Stewart14-May-04 2:00
protectorHeath Stewart14-May-04 2:00 
GeneralChange tabs with a button click Pin
itstime9812-May-04 16:56
itstime9812-May-04 16:56 
GeneralRe: Change tabs with a button click Pin
Aryadip12-May-04 18:01
Aryadip12-May-04 18:01 
Generalconverting a struct to an byte array Pin
User 96257812-May-04 11:59
User 96257812-May-04 11:59 
GeneralRe: converting a struct to an byte array Pin
Heath Stewart12-May-04 12:48
protectorHeath Stewart12-May-04 12:48 
GeneralRe: converting a struct to an byte array Pin
User 96257812-May-04 16:57
User 96257812-May-04 16:57 
GeneralRe: converting a struct to an byte array Pin
User 96257812-May-04 17:11
User 96257812-May-04 17:11 
GeneralRe: converting a struct to an byte array Pin
Heath Stewart13-May-04 2:09
protectorHeath Stewart13-May-04 2:09 
Generalcontrolling 'min occurs' in WSDL Pin
avneeshb12-May-04 11:51
avneeshb12-May-04 11:51 
GeneralRe: controlling 'min occurs' in WSDL Pin
Heath Stewart12-May-04 13:03
protectorHeath Stewart12-May-04 13:03 
Generalhello, it's me the C# n00b again, I have some questions about C# ^_^; Pin
C# n00b12-May-04 11:07
C# n00b12-May-04 11:07 
GeneralRe: hello, it's me the C# n00b again, I have some questions about C# ^_^; Pin
Heath Stewart12-May-04 11:11
protectorHeath Stewart12-May-04 11:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.