1. always 'Option Explicit' (this will force you to declare all variables<BR><BR>2. 'Dim' is a command, nothing to do with the type of the variable<BR><BR>3. in VB you can specify the type - 'Dim sString as String'
"Dim" is short for "Dimension", a hangover from older programming languages. While JS etc use "var" etc (being newer), you have to remember that all variants of VB are essentially updated versions of BASIC and therefore have some quirks that go with being so **** old ;-)