> Private Sub EncryptionKey_Validating(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles EncryptionKey.Validating
> If EncryptionKey.TextLength < 8 Then
> MessageBox.Show("The length of the encryption key should be at least 8 characters", _
> ...
>But, this gives the error:
>
>Method 'EncryptionKey_Validating' cannot handle Event 'Validating' because they do not have the same signature.
You probably need to replace the "e as System.EventArgs" with "e As System.ComponentModel.CancelEventArgs."Christopher Bohling, Consultant
http://www.ChristopherBohling.com