¡@

Home 

c# Programming Glossary: hang

Sending commands to cmd prompt in C#

http://stackoverflow.com/questions/11767654/sending-commands-to-cmd-prompt-in-c-sharp

bit forward following Jamie's suggestions. The ui is not hanging anymore. but when i access the python interpreter the interpreter's.. that if the Form1_Load event doesn't complete Invoke will hang until it does. If you have long running code in an event you'll..

How to Query an NTP Server using C#?

http://stackoverflow.com/questions/1193955/how-to-query-an-ntp-server-using-c

ProtocolType.Udp socket.Connect ipEndPoint Stops code hang if NTP is blocked socket.ReceiveTimeout 3000 socket.Send ntpData..

Avoiding the woes of Invoke/BeginInvoke in cross-thread WinForm event handling?

http://stackoverflow.com/questions/1364116/avoiding-the-woes-of-invoke-begininvoke-in-cross-thread-winform-event-handling

after RequiresInvoke returns true Invoke can indefinitely hang waiting for execution by a control that was disposed at the.. method or the calling event the solution should only change the event subscription itself. Appropriately handle blocking..

ProcessStartInfo hanging on “WaitForExit”? Why?

http://stackoverflow.com/questions/139593/processstartinfo-hanging-on-waitforexit-why

hanging on &ldquo WaitForExit&rdquo Why I have the following code.. console works fine. Unfortunately programmatically this hangs indefinitely at WaitForExit. Note also this does code NOT hang.. indefinitely at WaitForExit. Note also this does code NOT hang for smaller outputs like 3KB . Is it possible that the internal..

Sending input/getting output from a console application (C#/WinForms)

http://stackoverflow.com/questions/1765493/sending-input-getting-output-from-a-console-application-c-winforms

but however the app hangs when I use StandardOutput.ReadToEnd . I had a look at the asynchronous.. but even though my app does not hang somehow I get no response in the textbox it does absolutely..

Display progress bar while doing some work in C#?

http://stackoverflow.com/questions/1952201/display-progress-bar-while-doing-some-work-in-c

a progress bar while doing some work but that would hang the UI and the progress bar won't update. I have a WinForm ProgressForm.. which means there would be no call to ProgressChanged as the DoWork is a single call to an external function but.. false assumption. 1. You don't need to raise the ProgressChanged event to have a responsive UI In your question you say this..

What is a good pattern for using a Global Mutex in C#?

http://stackoverflow.com/questions/229565/what-is-a-good-pattern-for-using-a-global-mutex-in-c

to release the mutex properly Optionally does not hang forever if the mutex is not acquired Deals with cases where..

Do event handlers stop garbage collection from occuring?

http://stackoverflow.com/questions/298261/do-event-handlers-stop-garbage-collection-from-occuring

pClass null Will pClass be garbage collected Or will it hang around still firing its events whenever they occur Will I need..

How can I embed any file type into Microsoft Word using OpenXml 2.0

http://stackoverflow.com/questions/3322247/how-can-i-embed-any-file-type-into-microsoft-word-using-openxml-2-0

_oleImageDataTag Not sure why but Excel seems to hang in the processes if you attach an Excel file This kills the..

C# Service cannot execute batch file?

http://stackoverflow.com/questions/361097/c-sharp-service-cannot-execute-batch-file

code in Console. When it runs in the service the service hang at the WaitForExit . I have to kill the batch file from the.. possibility to get some output. One of my batch file still hang. C EnterpriseDB Postgres 8.3 bin pg_dump.exe i h localhost p.. too proc.StartInfo.Arguments . I have the same result hang. But I see the pg_dump.exe to the process windows... this is..

Is this thread.abort() normal and safe?

http://stackoverflow.com/questions/421389/is-this-thread-abort-normal-and-safe

appending of text on textbox here private void txt_TextChanged object sender EventArgs e if _yarn null _yarn.Abort _yarn.. of text on textbox here... private void txt_TextChanged object sender EventArgs e Interlocked.Increment ref _currentKeyIndex.. delegate again. Set up a timer. Wait a bit after the text change before calling the delegate. Then wait for it to return before..

How do I obtain a crash dump

http://stackoverflow.com/questions/4992569/how-do-i-obtain-a-crash-dump

point in time. Dumps can be used to debug program crashes hangs memory and resource leaks and probably more problems I have.. I have not listed here. In the case of crashes and hangs the first piece of data you want to obtain from a crash dump.. a complete memory image. If you are debugging a crash or hang you can likely get away without the ma switch. Keep in mind..

How to execute an .SQL script file using c#

http://stackoverflow.com/questions/650098/how-to-execute-an-sql-script-file-using-c-sharp

the process with UseShellExecute set to true sqlplus would hang and never exit. Here's the code that DOESN'T WORK. Process p..

Need sample fire and forget async call to WCF service

http://stackoverflow.com/questions/774648/need-sample-fire-and-forget-async-call-to-wcf-service

that it is necessary to.. in essence prepare or change the code of your WCF services as to be able to handle an async.. call only matters for one direction and the client won't hang around for the method to finish executing. Even when calling.. Even when calling BeginInvoke your client code will still hang out waiting for the server method to finish executing but it..

Releasing a unplugged virtual Serial Port

http://stackoverflow.com/questions/9835881/releasing-a-unplugged-virtual-serial-port

device drivers that emulate serial ports. The biggest hang up with the API is that it doesn't have any support for Plug..