Tip Bank

DevX - Software Development Resource

MTS Objects Containing ADO

Question: I have an MTS object that contains an ADO connection object which I use in an ASP page. I look at the MTS console and confirm that the package

DevX - Software Development Resource

Static Memory or Heap?

Question: When I creating a class, I declare several large arrays, and some integers within one ofof class function members.Within main, I call new, making the object declared on the

DevX - Software Development Resource

Always use “$-typed” string functions

VB official documentation seems to encourage you to use “$-less” string functions, e.g. Left, LTrim or UCase, instead of their time-honored Left$, LTrim$ and UCase$ counterparts. If you do so,

DevX - Software Development Resource

Conversion to proper case

When dealing with proper names, you may want to capitalize the first letter of each word, e.g. convert “john smith” into “John Smith”. Under VB3 you had to write a

DevX - Software Development Resource

LenB has changed from VB5 to VB6

Visual Basic stores UDTs in unpacked format, that is it alignes all UDT elements to the double word (except that Integers and Boolean are aligned to the word, and byte