Just so you know i got it in the keypress action for the rich text box i put an if statement to check if the key press was enter. in the if statement is the command "keyascii=0" this tells the program to use the null char instead.
NOTE you must have set the keypreview property of the form containing the textbox to true.