Results 1 to 7 of 7

Thread: Loading a textfile *[RESOLVED]*

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2002
    Posts
    31

    Question Loading a textfile *[RESOLVED]*

    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:

    VB Code:
    1. rtbAbout.FileName = App.Path & "\data\about.rtf"
    but there's no app.path in VB .NET, how would I get the relevant path to the textfile?

    Thanks
    Last edited by NickyDude; Dec 6th, 2002 at 10:20 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width