Results 1 to 5 of 5

Thread: how to get a path

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2001
    Location
    bkk
    Posts
    224

    how to get a path

    hi all
    how to get a path of file...........please
    help
    cheers
    parthi

  2. #2
    Lively Member
    Join Date
    Nov 2000
    Posts
    100

    not sure

    Don't know what you want but if you want the path of your project then use

    app.path

    ie if you want a pic inside the dir of your project

    app.path & "\pic.jpg"

    I think that is right

  3. #3
    sunnyl
    Guest
    If you are using the API to search for a file (FindFirstFile and recursively FindNextFile or even just Dir), you are the one specifying what directory to search in the first place.

    You should keep track of the currently being searched folder when using FindFirst/Next File and when the file is found, you can put together the entire length of the directories to get the full path.

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Feb 2001
    Location
    bkk
    Posts
    224
    dear my friend
    i have a project on to find a file, i have done it useing api, how to store the file path in var. or do you have any other propeties to find the path of an existing file in any dir...
    regds
    parthi

  5. #5
    Matthew Gates
    Guest
    Take a look at this link.
    http://161.58.186.98/files/tip529.html

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