A very wild guess is that you ask about the SaveFile method of RichTextBox, and this doesn't work when RTB:Visible=False. Still you may access the properties and get the text and save it to a file. Did you try to use context menu in code view, the 'insert snippet' lets you browse and insert simple code snippets like the one liner to write text to file:
As an added peculiarity, if you create a new RichTextBox instance in memory, without even adding it to the form its SaveFile method does work as normal. Funny, eh?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.