Click here to Skip to main content
15,887,355 members
Home / Discussions / C#
   

C#

 
AnswerRe: Re Sizing List View Column Pin
DaveyM6922-Jul-09 0:55
professionalDaveyM6922-Jul-09 0:55 
AnswerRe: Re Sizing List View Column Pin
Mycroft Holmes22-Jul-09 1:00
professionalMycroft Holmes22-Jul-09 1:00 
QuestionSome questions about using the C# code compiler ( CSharpCodeProvider ) [modified] Pin
MafiaMoe22-Jul-09 0:38
MafiaMoe22-Jul-09 0:38 
AnswerRe: Some questions about using the C# code compiler ( CSharpCodeProvider ) Pin
MafiaMoe22-Jul-09 11:44
MafiaMoe22-Jul-09 11:44 
QuestionStream Reader Problem Pin
Paul Unsworth22-Jul-09 0:09
Paul Unsworth22-Jul-09 0:09 
AnswerRe: Stream Reader Problem Pin
OriginalGriff22-Jul-09 0:26
mveOriginalGriff22-Jul-09 0:26 
GeneralRe: Stream Reader Problem Pin
Paul Unsworth22-Jul-09 0:43
Paul Unsworth22-Jul-09 0:43 
GeneralRe: Stream Reader Problem Pin
OriginalGriff22-Jul-09 1:04
mveOriginalGriff22-Jul-09 1:04 
You mean it misses the first character of every line?

File:
0Hello
1There
2Goodbye

gives you three lines "hello", "There" and "Goodbye"?
What is so different about your code from the standard and very boring:
using (StreamReader sr = new StreamReader(@"C:\XXTemp\Lines.txt"))
    {
    string s;
    while ((s = sr.ReadLine()) != null)
        {
        MessageBox.Show(s);
        }
    }


No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.

This message is made of fully recyclable Zeros and Ones

GeneralRe: Stream Reader Problem Pin
Paul Unsworth22-Jul-09 1:20
Paul Unsworth22-Jul-09 1:20 
GeneralRe: Stream Reader Problem Pin
OriginalGriff22-Jul-09 1:23
mveOriginalGriff22-Jul-09 1:23 
GeneralRe: Stream Reader Problem Pin
Paul Unsworth22-Jul-09 1:38
Paul Unsworth22-Jul-09 1:38 
GeneralRe: Stream Reader Problem Pin
OriginalGriff22-Jul-09 1:42
mveOriginalGriff22-Jul-09 1:42 
AnswerRe: Stream Reader Problem Pin
MarkB77722-Jul-09 0:31
MarkB77722-Jul-09 0:31 
GeneralRe: Stream Reader Problem Pin
Paul Unsworth22-Jul-09 0:42
Paul Unsworth22-Jul-09 0:42 
GeneralRe: Stream Reader Problem Pin
MarkB77722-Jul-09 0:43
MarkB77722-Jul-09 0:43 
GeneralRe: Stream Reader Problem Pin
Paul Unsworth22-Jul-09 1:07
Paul Unsworth22-Jul-09 1:07 
GeneralRe: Stream Reader Problem Pin
MarkB77722-Jul-09 1:21
MarkB77722-Jul-09 1:21 
AnswerRe: Stream Reader Problem Pin
Luc Pattyn22-Jul-09 1:23
sitebuilderLuc Pattyn22-Jul-09 1:23 
Questionwriting javascript in code behind [modified] Pin
kKamel21-Jul-09 23:48
kKamel21-Jul-09 23:48 
AnswerRe: writing javascript in code behind Pin
Brij22-Jul-09 0:02
mentorBrij22-Jul-09 0:02 
GeneralRe: writing javascript in code behind Pin
kKamel22-Jul-09 0:28
kKamel22-Jul-09 0:28 
GeneralRe: writing javascript in code behind Pin
Tamer Oz22-Jul-09 0:34
Tamer Oz22-Jul-09 0:34 
GeneralRe: writing javascript in code behind Pin
kKamel22-Jul-09 0:35
kKamel22-Jul-09 0:35 
GeneralRe: writing javascript in code behind Pin
Tamer Oz22-Jul-09 0:43
Tamer Oz22-Jul-09 0:43 
GeneralRe: writing javascript in code behind Pin
kKamel22-Jul-09 1:42
kKamel22-Jul-09 1:42 

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.