Is there any way to read file with custom extension to textBox? Is there any convertation to some supported formats?
I need read file with custom extension, like text.blahblahblah.
Is there any way to read file with custom extension to textBox? Is there
Share
Sure, just load the file text to the
TextBoxlike:You can let the user choose the file using
OpenFileDialogand specify a format accepted in the dialog filter.If you want to also read
rtftext then I think you need aRichTextBoxinstead ofTextBoxhere so you can readrtftext probably usingrichTextBox1.Rtfstring.