Click here to Skip to main content
15,886,074 members
Home / Discussions / C#
   

C#

 
QuestionCrushing on Win 2003 Server Pin
Desgard14-May-06 20:43
Desgard14-May-06 20:43 
AnswerRe: Crushing on Win 2003 Server Pin
WillemM14-May-06 21:21
WillemM14-May-06 21:21 
GeneralRe: Crushing on Win 2003 Server Pin
Desgard14-May-06 22:23
Desgard14-May-06 22:23 
AnswerRe: Crushing on Win 2003 Server Pin
S. Senthil Kumar15-May-06 1:43
S. Senthil Kumar15-May-06 1:43 
QuestionUpdating progress bar after each ReadLine() Pin
mtbchef114-May-06 17:16
mtbchef114-May-06 17:16 
AnswerRe: Updating progress bar after each ReadLine() Pin
S. Senthil Kumar14-May-06 18:18
S. Senthil Kumar14-May-06 18:18 
GeneralRe: Updating progress bar after each ReadLine() Pin
mtbchef114-May-06 20:34
mtbchef114-May-06 20:34 
GeneralRe: Updating progress bar after each ReadLine() Pin
S. Senthil Kumar15-May-06 1:41
S. Senthil Kumar15-May-06 1:41 
mtbchef1 wrote:
private delegate string ReadDelegate(string file);

Did you paste the whole code or just sections of it? I'm guessing from the declaration of the delegate that you are doing something like
new ReadDelegate(Read).BeginInvoke(fileName, null);

somewhere in your UI event handler? If not, you need to do something like the above. If you instead call Read directly, the UI thread remains blocked until Read completes, so any UI updates you make, including progress bar updates, will not be performed.

Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
GeneralRe: Updating progress bar after each ReadLine() Pin
mtbchef115-May-06 20:24
mtbchef115-May-06 20:24 
Questionhow to read usb storage Id or Sn ? Pin
Veelone14-May-06 16:09
Veelone14-May-06 16:09 
Questiondisable TCP-IP, get MAC address Pin
Dave k.a. DPA14-May-06 13:09
Dave k.a. DPA14-May-06 13:09 
Question[EditorAttribute(typeof(MyFileNameEditor), typeof(UITypeEditor))] Pin
Susuko14-May-06 11:06
Susuko14-May-06 11:06 
AnswerRe: [EditorAttribute(typeof(MyFileNameEditor), typeof(UITypeEditor))] Pin
Office Lineman14-May-06 12:53
Office Lineman14-May-06 12:53 
QuestionFlash in taskbar Pin
Martin2314-May-06 10:31
Martin2314-May-06 10:31 
AnswerRe: Flash in taskbar Pin
Stefan Troschuetz14-May-06 10:48
Stefan Troschuetz14-May-06 10:48 
GeneralRe: Flash in taskbar Pin
Martin2314-May-06 11:12
Martin2314-May-06 11:12 
Questionsoftware layers Pin
mehrdadc4814-May-06 10:22
mehrdadc4814-May-06 10:22 
AnswerRe: software layers Pin
Robert Rohde14-May-06 18:58
Robert Rohde14-May-06 18:58 
QuestionInsert in DB Pin
mehrdadc4814-May-06 10:18
mehrdadc4814-May-06 10:18 
AnswerRe: Insert in DB Pin
Stefan Troschuetz14-May-06 10:33
Stefan Troschuetz14-May-06 10:33 
QuestionReset IIS from C# code? Pin
mikker_12314-May-06 9:48
mikker_12314-May-06 9:48 
AnswerRe: Reset IIS from C# code? Pin
Rei Miyasaka14-May-06 11:02
Rei Miyasaka14-May-06 11:02 
GeneralRe: Reset IIS from C# code? Pin
mikker_12314-May-06 11:08
mikker_12314-May-06 11:08 
QuestionIs there a way to create native exe? Pin
signbit14-May-06 8:34
signbit14-May-06 8:34 
AnswerRe: Is there a way to create native exe? Pin
Sean8914-May-06 9:16
Sean8914-May-06 9:16 

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.