More specific warnings:

Like:
Dim client as Client
client.type = "A"

You forgot to put 'New' in front of your declaration type.

or:
an AutoCorrect feature, makes it simple to determine why invalid code won't compile, and to choose from multiple options in order to fix the errant code. If you make a simple typing error, as shown in Figure 5, clicking the Smart Task produces a list of suggestions from which you can select the correct code.