I wish to load a textfile into a richtextbox, but i'm not sure how to get the relevant path.
The textfile is situated in a 'data' folder where the program is situated. In VB6, you could have:
but there's no app.path in VB .NET, how would I get the relevant path to the textfile?VB Code:
rtbAbout.FileName = App.Path & "\data\about.rtf"
Thanks![]()




Reply With Quote