devxlogo

Tip Bank

Determine the size of a structure

Unlike previous Visual Basic versions, under VB.NET you can’t use the Len function to calculate the length of a Structure or a class. However, it is easy to get this

Use Bitwise Comparison in SQL Server Queries

The newsgroups offer a lot of discussion about bitwise comparison in SQL statements. VB supports true bitwise arithmetic with And, but SQL supports only a logical AND and returns only