Results 1 to 2 of 2

Thread: How to Find File path???

  1. #1

    Thread Starter
    Hyperactive Member mikef's Avatar
    Join Date
    Jun 2000
    Location
    Beach bound...
    Posts
    510

    Question

    How can I find the full path to a file? I am loading a file into an RTF box, but when I click my save button, it saves the file in the application directory, not where it is currently stored. How can I write over this existing file??

    I am using this method to save now:

    frmMain.RtfBx.SaveFile (App.path & "\" & FileName$), rtfText

    I want to substitute the app.path for the actual location of the existing file, not create a new one in the program dir.

    Thanks for any suggestions!!!!

  2. #2
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    why have you got app.path in the code if you don't want it there??

    save the path in a variable when you open the file
    Mark
    -------------------

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