Tip Bank

DevX - Software Development Resource

Does Your RDBMS Support Savepoints?

Before using savepoints in your application, you need to be sure that your RDBMS supports this facility. To do this, call the DatabaseMetaData.supportsSavepoints method, like this: Connection conn=null;DatabaseMetaData dmd=null;…try{ dmd=conn.getMetaData();

DevX - Software Development Resource

Save a URL as an MHT File

To save a URL as an MHT file (Microsoft “Multipurpose Internet Mail Extension HTML”?a Web Archive File), reference the Microsoft ActiveX Data Objects 2.7 and Microsoft CDO libraries and use

DevX - Software Development Resource

Force JScrollPane to Display a Scrollbar

Some of us may like to use the null layout instead of any ready layout manager. However, when it comes to using JscrollPane or other scrollable components, I’ve found that

DevX - Software Development Resource

Quickly Stop the Build in Your .NET IDE

Suppose you accidentally start building a big project and now you have to wait until the debugger (IDE) shows the stop icon. Use CTRL+Break and cancel the build.