© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
8 replies
!Ryzz3nn!

❔ Load txt file

Hello there! im trying to make a simple Windows from application as a test. i currently have 3 forms, one main page, one textpage and one textload page. but i have gotten stuck. im trying to make a function where you press a button that says load on the textpage, that brings up the other form called textload that contains a listbox which shows all .txt files within a certain folder, however when you press load inside the text load i want it to load the content of the selected .txt file and load it into the richtextbox i have on the textpage. which is why i have come here to seek some help as i have not been able to find any solution online. i would also like to apologize for my bad writting.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Reading file (.txt)
C#CC# / help
3y ago
❔ Help with StreamReader txt file
C#CC# / help
3y ago
Reading Formatted .txt File [Answered]
C#CC# / help
4y ago
MathPlugin in skprompt.txt file [Semantic kernel]
C#CC# / help
2y ago