Results 1 to 6 of 6

Thread: Download FileName and Path

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Location
    New Zealand
    Posts
    8

    Download FileName and Path

    Hi all
    I've tried everywhere for this - so here goes...
    I have a program that reads in a text file, that a user can download off the internet.

    All I want to return is the filename and path the user puts into the SAVE AS dialoge box when asked to save the file.

    Is this possible??
    Jas the Ace

  2. #2
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    The filename will show up, but only if they choose to save and not open from current location. You have no control over where the file is saved to.
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Location
    New Zealand
    Posts
    8
    Thanks monte96

    Do you have any code sample on how to pull out the FileName and Path variable from the SAVE AS box?
    Jas the Ace

  4. #4
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    I don't think there is a way to do it over the web for obvious security reasons.
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

  5. #5

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Location
    New Zealand
    Posts
    8
    OK

    I've re-read my first post and maybe I haven't made myself completely clear

    I have a STAND-ALONE Program that has an ASCII text file Wizard in it. Most users will connect to the Internet to download a copy of there data - and I'm wanting to put a button that will attach to the web for them - they open their page providing password etc and from the data shown, can download a copy in text format. I'm wanting to capture the string content of the SAVE AS dialoge from my program - I can start something off when they click this button to jump on-line - like check for a window or something...

    Would like sample code on this... Anyone...
    Jas the Ace

  6. #6
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    = CommonDialog1.FileName
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

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