Posted
I want to add a button which when pressed will open a folder.
I also want the txt/lua file chosen to be put straight into my richTextBox1.
I need this because I have a lua executor but i want to add a browse button to it.
If anyone knows how to do this then please reply.
Thanks
Replied
You can have a look at this example (which makes shows the contents of a file in a MessageBox) https://docs.microsoft.com/en-us/dotnet/framework/winforms/controls/how-to-open-files-using-the-openfiledialog-component
Cancel
Post
Replied
i got it to work
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post