Click here to Skip to main content
15,917,005 members
Home / Discussions / C#
   

C#

 
GeneralRe: SqlDataReader (SequentialAccess) solved.... but... Pin
Jacob Dixon19-Apr-09 9:20
Jacob Dixon19-Apr-09 9:20 
Questionhow can i prevent my application from being closed using task manager ? Pin
challouf19-Apr-09 2:57
challouf19-Apr-09 2:57 
AnswerRe: how can i prevent my application from being closed using task manager ? Pin
Vikram A Punathambekar19-Apr-09 4:37
Vikram A Punathambekar19-Apr-09 4:37 
GeneralRe: how can i prevent my application from being closed using task manager ? Pin
challouf19-Apr-09 4:56
challouf19-Apr-09 4:56 
GeneralRe: how can i prevent my application from being closed using task manager ? Pin
Jacob Dixon19-Apr-09 6:20
Jacob Dixon19-Apr-09 6:20 
AnswerRe: how can i prevent my application from being closed using task manager ? Pin
Xmen Real 19-Apr-09 6:24
professional Xmen Real 19-Apr-09 6:24 
GeneralRe: how can i prevent my application from being closed using task manager ? Pin
challouf19-Apr-09 7:22
challouf19-Apr-09 7:22 
AnswerRe: how can i prevent my application from being closed using task manager ? Pin
mmfatemi2-Jul-10 20:48
mmfatemi2-Jul-10 20:48 
Questionhow to extract attachments from PST and OST files Pin
Ramin Rahimee19-Apr-09 2:34
Ramin Rahimee19-Apr-09 2:34 
AnswerRe: how to extract attachments from PST and OST files Pin
_Maxxx_19-Apr-09 16:50
professional_Maxxx_19-Apr-09 16:50 
GeneralRe: how to extract attachments from PST and OST files Pin
Ramin Rahimee19-Apr-09 18:16
Ramin Rahimee19-Apr-09 18:16 
QuestionOptimizing File Copy Time Pin
#realJSOP19-Apr-09 1:47
professional#realJSOP19-Apr-09 1:47 
AnswerRe: Optimizing File Copy Time Pin
Mycroft Holmes19-Apr-09 1:57
professionalMycroft Holmes19-Apr-09 1:57 
AnswerRe: Optimizing File Copy Time Pin
S. Senthil Kumar19-Apr-09 2:00
S. Senthil Kumar19-Apr-09 2:00 
AnswerRe: Optimizing File Copy Time Pin
Luc Pattyn19-Apr-09 2:30
sitebuilderLuc Pattyn19-Apr-09 2:30 
GeneralRe: Optimizing File Copy Time Pin
harold aptroot19-Apr-09 2:58
harold aptroot19-Apr-09 2:58 
Questionhow to scroll the contents of a text file Pin
mist_psycho19-Apr-09 1:10
mist_psycho19-Apr-09 1:10 
AnswerRe: how to scroll the contents of a text file Pin
Luc Pattyn19-Apr-09 1:41
sitebuilderLuc Pattyn19-Apr-09 1:41 
mist_psycho wrote:
while((input=re.ReadLine()) !=null)
{
label1.Text=input;
}


this is reading all text and throwing away all but the last line.

You need to read and store all lines in memory first, in the Load handler. File.ReadAllLines can be used for this.

Then set your Control's Text property to whatever you want it to show; probably do this in the tick handler.

FYI: You could do without the string array, keeping all text inside the Control, but that is much harder to do correctly.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

Avoiding unwanted divs (as in "articles needing approval") with the help of this FireFox add-in


QuestionHow to retrieve DatabaseObjects ExtentendedProperties ? Pin
hdv21219-Apr-09 0:56
hdv21219-Apr-09 0:56 
AnswerRe: How to retrieve DatabaseObjects ExtentendedProperties ? Pin
Mycroft Holmes19-Apr-09 1:43
professionalMycroft Holmes19-Apr-09 1:43 
GeneralRe: How to retrieve DatabaseObjects ExtentendedProperties ? Pin
hdv21219-Apr-09 2:06
hdv21219-Apr-09 2:06 
GeneralRe: How to retrieve DatabaseObjects ExtentendedProperties ? Pin
Henry Minute19-Apr-09 13:06
Henry Minute19-Apr-09 13:06 
Questionloading form design from xml file Pin
samy10019-Apr-09 0:55
samy10019-Apr-09 0:55 
AnswerRe: loading form design from xml file Pin
Mycroft Holmes19-Apr-09 1:49
professionalMycroft Holmes19-Apr-09 1:49 
AnswerRe: loading form design from xml file Pin
Henry Minute19-Apr-09 13:07
Henry Minute19-Apr-09 13:07 

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.