Click here to Skip to main content
15,922,894 members
Home / Discussions / C#
   

C#

 
GeneralRe: How To: network sniffing on Vista? Pin
Super Lloyd19-Jun-08 18:36
Super Lloyd19-Jun-08 18:36 
AnswerRe: How To: network sniffing on Vista? Pin
leppie20-Jun-08 0:41
leppie20-Jun-08 0:41 
GeneralRe: How To: network sniffing on Vista? Pin
Super Lloyd20-Jun-08 4:39
Super Lloyd20-Jun-08 4:39 
AnswerRe: How To: network sniffing on Vista? Pin
Spacix One20-Jun-08 2:50
Spacix One20-Jun-08 2:50 
QuestionPrint Pin
netJP12L19-Jun-08 11:04
netJP12L19-Jun-08 11:04 
Questionswitch statemeent. Am I missing someting Pin
TheFoZ19-Jun-08 10:59
TheFoZ19-Jun-08 10:59 
AnswerRe: switch statemeent. Am I missing someting Pin
Judah Gabriel Himango19-Jun-08 11:09
sponsorJudah Gabriel Himango19-Jun-08 11:09 
GeneralRe: switch statemeent. Am I missing someting Pin
TheFoZ19-Jun-08 11:18
TheFoZ19-Jun-08 11:18 
GeneralRe: switch statemeent. Am I missing someting Pin
Judah Gabriel Himango19-Jun-08 11:50
sponsorJudah Gabriel Himango19-Jun-08 11:50 
GeneralRe: switch statemeent. Am I missing someting Pin
TheFoZ19-Jun-08 12:45
TheFoZ19-Jun-08 12:45 
AnswerRe: switch statemeent. Am I missing someting Pin
Guffa19-Jun-08 13:24
Guffa19-Jun-08 13:24 
GeneralRe: switch statemeent. Am I missing someting Pin
TheFoZ19-Jun-08 13:49
TheFoZ19-Jun-08 13:49 
GeneralRe: switch statemeent. Am I missing someting Pin
Ed.Poore19-Jun-08 14:12
Ed.Poore19-Jun-08 14:12 
GeneralOT: About string.Empty Pin
Guffa19-Jun-08 14:32
Guffa19-Jun-08 14:32 
GeneralRe: OT: About string.Empty Pin
Ed.Poore19-Jun-08 21:15
Ed.Poore19-Jun-08 21:15 
GeneralRe: OT: About string.Empty Pin
Scott Dorman21-Jun-08 1:58
professionalScott Dorman21-Jun-08 1:58 
GeneralRe: OT: About string.Empty Pin
Scott Dorman21-Jun-08 1:58
professionalScott Dorman21-Jun-08 1:58 
GeneralRe: switch statemeent. Am I missing someting Pin
PIEBALDconsult19-Jun-08 15:15
mvePIEBALDconsult19-Jun-08 15:15 
GeneralRe: switch statemeent. Am I missing someting Pin
Ed.Poore19-Jun-08 21:21
Ed.Poore19-Jun-08 21:21 
AnswerRe: switch statemeent. Am I missing someting Pin
Guffa21-Jun-08 6:35
Guffa21-Jun-08 6:35 
GeneralRe: switch statemeent. Am I missing someting Pin
TheFoZ19-Jun-08 22:13
TheFoZ19-Jun-08 22:13 
GeneralRe: switch statemeent. Am I missing someting Pin
Ed.Poore19-Jun-08 22:36
Ed.Poore19-Jun-08 22:36 
GeneralRe: switch statemeent. Am I missing someting Pin
Guffa19-Jun-08 14:15
Guffa19-Jun-08 14:15 
GeneralRe: switch statemeent. Am I missing someting Pin
Mark Churchill19-Jun-08 18:53
Mark Churchill19-Jun-08 18:53 
QuestionTele-type screen saver Pin
Elvis_Pretzelator19-Jun-08 9:32
Elvis_Pretzelator19-Jun-08 9:32 
So I've been trying to create a screen saver where the contents of a file will be read and displayed on the screen - but not having much success.

I want the text to appear one character at a time (like a typewriter) but the problem is the flicker! I've tried labels, multi-line textboxes and richtextboxes and they all have ridiculous amounts of flicker. Labels are better if I don't set the FlatStyle to System but then I can't see the tabs, so I don't want that.

Another issue is I'm not able to scroll along with the text as it progresses down the control. I tried the ScrollToCaret trick and that works but first it has to jump to the start of the control which causes another undesirable effect.

Here's the method that does the typewriter thing:

public void TW()
{
try
{
char[] myChars = msg.ToCharArray();
lbl.Text = "";
for(int i = 0; i < myChars.Length; i++)
{
lbl.Text += myChars[i].ToString();
System.Threading.Thread.Sleep(0);
}

}
catch(Exception)
{

}
}

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.