Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

'.' expected

The code has a Handles clause that contains an exclamation point (!).

Error ID: BC30287

To correct this error

  • If the Handles clause refers to an event within an object, use a period (.) to separate the object from the event.

    This example handles the Click event from the Button1 object.

    Sub Button1_Click(ByVal sender As System.Object, _
            ByVal e As System.EventArgs) Handles Button1.Click

Community Additions

© 2015 Microsoft