#1
  1. No Profile Picture
    Registered User
    ASP Explorer (0 - 99 posts)

    Join Date
    Apr 2004
    Posts
    1
    Rep Power
    0

    Help | File Location Display In Text Box |


    Hi, I wonder if anyone could help me on this.

    I have a Textbox on a form, the Text box data is a location of an image

    e.g c:\images\test.bmp

    I have an Imageframe loading the link in the text box to display the image.

    What i am trying to do is create a command button that will let me choose a desired
    image file from a location and place the actual Link path in the Text Box. All i require is the
    file location to appear in the textbox ?? e.g c:\images\test2.bmp.

    Please help me anyone.

    Cheers.
  2. #2
  3. No Profile Picture
    Moderator: Access, SQL
    ASP Mastermind (5000+ posts)

    Join Date
    Oct 2003
    Posts
    5,126
    Rep Power
    22
    You want a "Select File Dialog Box"


    Unless you have VB 6.0 and can steal the control from VB there is no easy way to dop this.

    However attached is a sample DB that someone gave me that has code to do this, you can copy it.

    S_
    Attached Files

Similar Threads

  1. Display Last 3 Lines From Text File
    By yasuru in forum ASP Development
    Replies: 7
    Last Post: March 27th, 2004, 03:31 AM
  2. Display the last 3 lines from my text file using ASP
    By yasuru in forum ASP Development
    Replies: 0
    Last Post: March 23rd, 2004, 11:37 PM
  3. Web serverístatistical analysis
    By cso in forum ASP Development
    Replies: 0
    Last Post: April 19th, 2003, 11:35 AM
  4. How can i display the content of the text file from a ADO?
    By Steve Schofield in forum SQL Development
    Replies: 0
    Last Post: December 12th, 2000, 02:31 AM
  5. Display content of text file
    By Steve Schofield in forum ASP Development
    Replies: 2
    Last Post: June 14th, 2000, 01:55 AM

IMN logo majestic logo threadwatch logo seochat tools logo