devxlogo

Tip Bank

Using Database Transactions with JDBC

When a connection is created using JDBC, by default it is in auto-commit mode. This means that each SQL statement is treated as a transaction and will be automatically committed

Convert a Short Filename Into a Long Filename

You can use the Dir( ) function to return a long filename, but the return does not include path information. By parsing a given short path/filename into its constituent directories,

Misconceptions on variables and binding

Consider this line of code: Dim x as Project1.Class1 Many developers think that we were declaring x as a “Project1.Class1” object. This is wrong. All object variables in VB are