Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 541743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T10:22:28+00:00 2026-05-13T10:22:28+00:00

I require to allow the user to select a file from the network drive

  • 0

I require to allow the user to select a file from the network drive from the webpage and have the chosen file path display into a textbox. I must also be able to set a default directory for the dialogue to open into each time.

The problem I have with the traditional approach is that I cannot paste a link in there (incase the user wants to enter a web address rather than a file path). Also, I cannot set a default easily.

Does anyone know a more flexible approach since here i’m not uploading any files, just want to return the full path to a file the user selects with a open dialogue invoked by mouse click on a button or image

Many thanks in Advance

John

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T10:22:28+00:00Added an answer on May 13, 2026 at 10:22 am

    You could use a technique similar to what others have used to make the default element look pretty. Using CSS, you can hide the underlying HTML input control and place separate textbox and button controls on top of it. That way you can control the appearance of the browse box while still having control of the input on the textbox.

    Here’s a good article you can use to learn how to style the control and how to construct the javascript necessary to make it work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How do you allow a C-extension to use rb_f_require to require a file from
A lot of programming languages and frameworks do/allow/require something that I can't seem to
I require a star rating control (which allows partial rating like 4.5) for my
I require a tree / directed acyclic graph implementation something like this: public class
C# doesn't require you to specify a generic type parameter if the compiler can
Like many companies that require all access be through stored procedures, we seem to
This will require a little setup. Trust me that this is for a good
I wish to require a popup window for users to type, to access my
I extracted simple example: require 'pp' x = 1..3 pp x.map do |i| {:value
The web applications I develop often require co-dependent configuration settings and there are also

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.