I have a WPF window, which contains a button called Cancel. Under ordinary circumstances I want a user to be able to press Alt+C to cancel their actions and close the program. As such, the button is captioned "_Cancel."
Problem 1: During Window_Load, if I press C without modifiers, the Cancel_Clicked event fires, and the program close...
I have a simple app that executes $.jGrowl("loading");. Then the data is displayed $.jGrowl("blah blah blah data goes here"); after crunching data which can take 1 -5 seconds.
I've seen a post that mentions using the default.pool to only display one message at a time. The format I want is:
Show box 1
crunch data
close box 1
show b...
Good afternoon,
In creating my WiX installer I have run into an issue when trying to close an application before installing the upgrade. Below is an example of how I am attempting to do this.
<util:CloseApplication Id="CloseServe" CloseMessage="yes" Target="server.exe" ElevatedCloseMessage="yes" RebootPrompt="no"/>
<InstallExecuteSeq...
hello everyone!
today i'm having this problem.
i have a search form which is shown with Thickbox inside an iframe. the problem is.. that after i click "search" the result page is shown inside the same iframe! and i want it to be shown in the main windows.
so, how can i.. post the string and close the thickbox at the same time?
...
I have been asked to remove or disable the close button from our VB .NET 2005 MDI application. There are no native properties on a form that allow you to grey out the close button so the user cannot close it, and I do not remember seeing anything in the form class that will allow me to do this.
Is there perhaps an API call or some magi...
I have been trying to debug my code whenever I had free-time for the past day and a half and I don't know what is wrong with my code. When I add the close() function to a recursive call, the program gives me an invalid pointer. But when I remove the close() function call the program runs fine, except it does not do what it is supposed to...
Hi,
When i close the browser window from the task bar the session is not getting destroyed. I could handle this on closing the browser using close(X) button or by pressing Alt+F4 using javascript. But from the task bar if i close the window how can i clear the session? The problem occurs only when there is another browser window already...
Hey guys,
When I launch my application, and press the "X" button on my app, or my quit button which deploys: me.close It will not fully close the application. Like the instance is still running in Visual Studio or if you go to task manager processes you can still see it there. How would I get this to fully close?
Thanks
Kevin
...
Hey guys.
You know the (x) button on the toolbar of your app? I want to add a pice of code right after the it closes the window. How would I do this?
Thanks
...
I have a TcpClient object which sends some data to server, using its underlying NetworkStream.Write().
Therefor, I have:
TcpClient server = new TcpClient(serverName, 50001);
/* ... */
NetworkStream stream = server.GetStream();
Now, when a button is pressed, the connection should close.
What is the right way to close the connection? ...
I am calling the javascript window.open() function to load another url in a pop up. Once the users is finished it takes them to the last page that has a link that says close window that calls the window.close() function. Now when that page closes I need to update something in the original page that opened the window. Is there any way to ...
How to clear the cookies that has been stored through my asp.net mvc(C#) application, when the user closes the browser?
Is there any option to create a cookie such that it expires once the browser closed?
I need to use cookies, because i will store some of the values to be maintained until the browser is closed.
For example, During si...
Hi chaps,
I'm trying to make a simple Dialog - no title just the word 'Close' and the X in the top right hand corner. My text etc. will then go underneath.
However I fiddle with it I can't ever get the closeText attribute to display - I can see it in FireBug but it either doesn't appear, or a couple of characters appear under the X gr...
window.close();
The above will pop up a confirm dialog each time,and not working at all in firefox.
...
The following code creates a new audio clip, plays it, sleeps for 3 seconds and then closes it when it is finished playing. Despite the call to close(), I am watching the memory usage of the jvm go up by the size of the sound clip every time the while loop is run.
I'm participating in a game coded in java, and am handling the sound. I c...
hi,
how can i prevent the jQuery dialog from closing when i click the mouse?
closing on hitting esc is fine but i want to keep it open until i close it by clicking the close-icon.
any ideas?
thx
...
hi,
i'm having my own listview widget inside a jQuery dialog.
i'd like having the following dialog attributes for the dialog:
close on esc
but don't autoclose the dialog when clicking somewhere
i set beforeclose: function(){return false;}
which disables auto-close
the problems:
closing by esc doesnt work anymore
when clicking my...
Note: I've read the following two questions already:
Can you explain the concept of streams?
C# using streams
I'm coding in C#
In almost all code samples that use streams, .Dispose(), .Flush(), .Close() are almost always called.
In the concept of a stream, what does accomplish?
If I don't dispose a stream that I stored in a variabl...
When I issue a Perl script some standard input, e.g.
$ awk '{print $1"\t"$2}' foo.txt | myScript.pl
I have a script which contains a bug. It reads the first line of standard input, gets something from that first line, and then only parses lines 2 through n of standard input on subsequent read:
open (FH, "< $input") or die $?;
my $fir...
I'm using grails but I have lot's of stored procedures I'm trying to call from groovy.Sql.newInstance...
In all the examples I've found I never see anyone actually calling close on the connection. But when I tried running a bunch of methods within one response that each uses its own call to newInstance, then it got an error that there ...