I'm trying to load the contents of a text file into a RichTextBox control. The code I'm using is:
notesTextbox.LoadFile(notesFilePath);
Now each time I run it I get a null reference exception. I'm sure the solution is simple, I've just hit a mental block. Can anyone offer any assistance? Thanks.