One way to do this is to just "eat" the enter...
Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress
If e.KeyChar = ControlChars.Cr Then
e.Handled = True
End If
End Sub

Signature
Tim Wilson
.Net Compact Framework MVP
> I'm writing a winforms app in vb.net 1.1 and have an issue when users click
> the enter key on a textbox. It make a beep sound as if an error had
[quoted text clipped - 6 lines]
>
> Thanks.
moondaddy - 12 Aug 2005 05:08 GMT
Thanks! That worked very nice.

Signature
moondaddy@nospam.nospam
> One way to do this is to just "eat" the enter...
>
[quoted text clipped - 17 lines]
>>
>> Thanks.