Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
Search the Tips

error - Page 3

Exception Handling
41-60 of 194     Previous     Next
Rethrowing a Throwable Exception in Your Code
by Mahesh Chulet
Use the fillInStackTrace() method to rethrow a Throwable type of exceptional condition in your code. This is useful if you want to rethrow a exception that occurred while using a method or creating a ...
Violating an Exception Specification
by Danny Kalev
The implementation ensures that functions having an exception specification should throw only exceptions that are listed in their exception specification. For ...
Cannot Quit FoxPro
by DevX Pro
I have built an executable file and included a READ EVENTS command. After running the .exe, I am unable to quit VFP. The message I get reads: "Cannot quit FoxPro."
Function's Return Value
by DevX Pro
I'd like to know how can I make a return of a function's local variable (for example, a reference to it) not using pointers technique?
Keyword 'huge'
by DevX Pro
I am getting a compile error 'huge' obsolete keyword. I am converting a process from Visual C++ 2.0 to 6.0. What keyword could I use in place of 'huge'?
Stack Unwinding in the Event of an Uncaught Exception
by Danny Kalev
When an exception is thrown and no matching handler can be found for it, C++ invokes the function terminate(). By default, terminates invokes the function abort(). Some compilers guarantee that at ...
Differences in Execution Flow
by DevX Pro
Why would a program not yield any errors, and yet not run on one system, while resulting in a perfect run (unchanged) on another system? Specifically, a switch statement was completely ignored on my system, yet functioned accurately on my professor's.
Error Handling Routines
by DevX Pro
While converting source code from C to C++, I came up with difficulties in converting error handling routines like err_quit(),err_sys(),etc. Are there C++ versions of these functions and where can I find them?
Workaround for SendKeys
by Bobby Orr
Sendkeys "{TAB}" can lockup the keyboard in Windows 2000. Here's how ...
Debugging in Visual C++
by DevX Pro
Is there a way to access the call stack debugging information from the code? I would like to print the call stack inside a function, each time it is called.
Help Files in Applications
by DevX Pro
I created a "help" button in a form and coded this button's click event as: { help } The code { set help to MyHelp.chm } is included in the main program before the "do form." When I make an application through Setup wizard and install it in a computer that has no VFP, the help button does not display the help window and doesn't give an error message either. What's going on?
Implement Catch All Blocks for Robustness
by Deepak Pant
You can use Throwable class in catch block to ...
Problem with Multiple Table Joins
by DevX Pro
I have two tables Region(RegionId-PK, RegionName) and District(DistrictId-PK, DistrictName, RegionId-FK). When I open a recordset (rs) like : Dim rs as new ADODB.Recordset rs.Open "SELECT District.*, Region.RegionName FROM District INNER JOIN Region ON District.RegionId = RegionId", cn Now, with this recordset, it gives an "Insufficient key column information..." message on rs.Delete method. Moreover, when I update the value RegionId like : rs!RegionId = 3 rs.update The value of 'RegionName' should be updated correspondingly. But it doesn't happen. It will only be updated when I re-query it. But it will be unnecessary extra work and more importantly, the record pointer will be changed on re-query. So could you give me solution to both update and delete problems. Please note that, the same query works well in Access.
Visual FoxPro App Shuts Down in Runtime
by DevX Pro
I have my first Visual FoxPro app that runs fine in the development environment, but will not run in runtime. What do I need to do to keep it going in the runtime?
All-Encompassing Try
by DevX Pro
I was told that in order to make my program easier to read, I should use try to cover all of my program, then catch every exception at the end of the program. Does this make any sense?
Invalid Seek Offset
by DevX Pro
What causes the error message "Invalid seek offset"?
Location of Wizards
by DevX Pro
Every time I try to use a wizard, I get the following error message: "Cannot find the Wizard Program." The wizards are located in the same folder that I am working in, and when I use "Find" and then click on the wizard, it will load and work OK. Any suggestions?
Exception.what() Gives Vague Description
by DevX Pro
I'm using a catch(exception e). When I come in the catch-block and print the message belonging to the exception, I receive the message "9exception." What does it mean?
Standard Input Exception
by DevX Pro
Why do I have to catch an exception when I use System.in.read()?
Function to create a folder/subfolder
by DevX Pro
How can I write a function in C++ that would create a folder/subfolder on the hard-disk?
41-60 of 194     Previous     Next
Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date