Tip Bank

DevX

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

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

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

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.