There are some differences between the syntax accepted by Visual Basic and the syntax accepted by Windows CE Toolkit for Visual Basic. This section describes some of the error messages you may encounter when using incorrect syntax.
Declare Statement Not Supported
Next Statement Does Not Take a Variable