|
by: Thomas Philips |
last post by:
I'd like to stop a program (i.e. terminate its execution) without
raising an exception if some condition is met, e.g
answer = " "
while answer not in "yn":
answer = raw_input("y for yes, n for no, enter to exit ")
if answer == ""
stop/quit/end/whatever it takes to terminate the program
elif answer == "y"
#Yes
|
by: Toni |
last post by:
Hello
I'm a newbie in VB .NET and I'd like to accomplish a (I think) very
simple task.
What I want to do is throw an error message to the user whenever
something happens. The main point is that the message must stop the
code execution, but it sholud not close the application nor show the
classical exception window (the one with JIT...
|
by: Jack |
last post by:
Hi,
I have a asp page which is pretty long. This consitst of various recordsets.
My intention is to stop execution of a code at a cetain point and test one
value prior to this point. Is there any way to do this? Thanks in advance.
Regards.
|
by: bjm |
last post by:
I am writing a program that will automate a series of application
installations. I want to give the user the option of stopping the
program's execution in between installations (for example, give the
user the chance to stop the program after the second installation
before it continues on to the third installation). However, I want the
user...
|
by: oll3i |
last post by:
import javax.swing.*;
import java.awt.event.*;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.*;
import java.lang.reflect.*;
public class Exec1 extends JFrame implements ActionListener {
int k = 0;
|
|
by: eldamiani |
last post by:
Ineed a help. I want to ask, how I can do dialog box window which is a normal form, but causes stopping the code execution in form which call out this dialog box. I have
MessageBox.Show("Operations");
FormDialog frm = new FormDialog();
frm.Show() //not ShowDialog()
//now the code should be stopping, but i don't know how....
|
by: archana |
last post by:
Hi all,
I am having one windows service which is updating to database.
On 'Onstop i want to wait till current updation complete. How will i
do this?
Because if i write some lengthy code on onstop it fails to stop and
status remain 'stopping' Later i can't do anything on that service
even i can't uninstall that service.
|
by: PyNoob |
last post by:
By default, uncaught exceptions stop the execution of python scripts (similar to what bash does when -e us set.)
I need to change this behavior, so that the user gets informed about the uncaught exception, but the program continues (like +e in bash).
Reason:
While a programmer can do his best and wrap almost every function into a try......
|
by: Steve |
last post by:
Hi All,
I've been trying to come up with a good way to run a certain process
at a timed interval (say every 5 mins) using the SLEEP command and a
semaphore flag. The basic thread loop was always sitting in the sleep
command and not able to be interrupted. When the time came to set the
semaphore flag to false (stopping the thread), my...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
|