Tip Bank

DevX - Software Development Resource

Killing a Form

Question: Is there a way for me to kill, destroy, release, or otherwise cancel a form that has hung, without quitting the current instance of Visual FoxPro? I’ve tried practically

DevX - Software Development Resource

Catching Exceptions

Question: Do you have to individually catch each exception that a method maythrow? Or can you just have one generalized catch?For example, can I do this?: try{ method1 //which throws

DevX - Software Development Resource

Encryption Classes

Question: Are there any standard classes for performing one-way encryption ofstrings (e.g., passwords) in Java, similar to crypt() on Unix systems? Answer: The Java core APIs do not include an

DevX - Software Development Resource

Use Strict Type Variables

If you want to improve performance of your application then you should always try to use strict type variables. You can use strict type (or strongly typed) variables by referencing

DevX - Software Development Resource

Control Transaction Rollback

If a run-time statement error (such as a constraint violation) occurs in a batch, the default behavior in SQL Server is to roll back only the statement that generated the