Solved

how do u browse the drive using file type button

Posted on 2002-07-19
17
213 Views
Last Modified: 2010-04-09
My requirement is to give user facility to browse through
all the drives in his hard disc and select a drive. Im trying to using <input type=file>, but the user has to select a file instead of the drive..Please suggest..
0
Comment
Question by:sureshrao72
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
  • 4
  • +2
17 Comments
 
LVL 12

Accepted Solution

by:
lexxwern earned 20 total points
ID: 7166303
why dont you ask him to use windows explorer or its kins?

btw,

<select name="hdd">
<option value="a">A Drive</option>
<option value="b">B Drive</option>
<option value="c">C Drive</option>
<option value="d">D Drive</option>
<option value="e">E Drive</option>
<option value="f">F Drive</option>
<option value="g">G Drive</option>
</select>

hmm, i dont think anyone will have anymore partitions.
0
 
LVL 18

Expert Comment

by:bruno
ID: 7166519
depends on mapped drives as well.....i used to have quite a lot of drives, and there is no promise what people will have them named...
0
 
LVL 12

Expert Comment

by:lexxwern
ID: 7166536
then let the select go all the way till Z. btw suresh there is no direct way of getting all the drives. you'll have to use something like what i just proposed.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 12

Expert Comment

by:lexxwern
ID: 7166548
btw. 2 old unlocked questions, not the best grading history, it seems you dont respect the experts here volunteering to help you.

if thats not the case then please close the old Qs and to know more about grading here at Experts Exchange visit this TA, http://www.experts-exchange.com/new_users/
0
 
LVL 18

Expert Comment

by:bruno
ID: 7166549
lexx, only problem will be there is no way to make sure that the user actually chose a valid drive letter.
0
 
LVL 18

Expert Comment

by:bruno
ID: 7166551
wow, horrible grading history.  

please select one of lexx's comments, not mine.  ;-)
0
 
LVL 12

Expert Comment

by:lexxwern
ID: 7166556
:-)

>> lexx, only problem will be there is no way to make sure that the user actually chose a valid drive letter.

true, but there's not much we can do..
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 7166731
Wow!  An unvalued Q;  They will not like the correct answer; and a grading history that would make a maggot gag...  Guaranteed bad grade?  Pass

Cd&
0
 

Author Comment

by:sureshrao72
ID: 7169796
I dont want to hardcode these values, it has to be automatic, 'cos my users are gonna browse from even a laptop, the problem is my boss wants a "browse" button facility instead of drop down boxes..

I really dont know to give the proper grade, what u guys are talking about Poor grades..please advice
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 7169890
Based on your grading history.  You do not feel you have ever received a satisfactory answer

3 C grades, which most expert sonsider insulting and  4 B grades

Your pattern is to post under valued questions, and then give poor grades.  

Another example of the same thing is here:

http://www.experts-exchange.com/asp/Q_20277540.html

Open since the middle of March, it has now been abandoned because you cannot do what you want to do.

Why should any expert give you their time when to show nothing but disrespect and a lack of appreciation for their efforts.  I would say you are now at the point where experts will avoid responding to your question, as you seem to place such a low value on their time and efforts.

I recommend that you look at this thread which was posted by one of the admins ComTech to address the question of proper grading practices:

http://www.experts-exchange.com/new_users/Q_20310437.html

Cd&
0
 
LVL 12

Expert Comment

by:lexxwern
ID: 7171017
it usually takes a bit of time to get used to this site. and since you are relatively new here you can still set things right here.

good luck!
0
 
LVL 18

Expert Comment

by:bruno
ID: 7176289
found a script on this page, about halfway down, not sure if this could be used somehow to find the mapped drives...

http://www.annoyances.org/exec/show/wsh
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 7240670
This question has been abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.
<note>
   In the absence of responses, I may recommend DELETE unless it is clear
   to me that it has value as a PAQ.  Silence = you don't care
</note>

Cd&

0
 
LVL 18

Expert Comment

by:bruno
ID: 7240775
I believe my last comment might be the most useful for what the user was looking for...
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 7270996
It is time to clean this abandoned question up.  

I am putting it on a clean up list for CS.

<recommendation>
split lexxwern and brunobear

</recommendation>

If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.

Cd&
0
 
LVL 12

Expert Comment

by:lexxwern
ID: 7273775
agree
0
 
LVL 5

Expert Comment

by:Netminder
ID: 7431185
Per recommendation, force-accepted.

Netminder
CS Moderator

brunobear: http://www.experts-exchange.com/Web/Web_Languages/HTML/Q_20394770.html
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Embedding Tags in a restricted UI 6 31
Output to HTML in powershell 3 39
HTML Anchor Link Problem 3 52
CSS Style Effect 2 18
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question