p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 1.0 and 1.1 Professional (http://p2p.wrox.com/forumdisplay.php?f=57)
-   -   Extracting the full path of a folder (http://p2p.wrox.com/showthread.php?t=60712)

vamshikrishnaD August 1st, 2007 04:40 AM

Extracting the full path of a folder
 
Hi,
I have a tool in which i have one textbox and one button and when i click on a folder in desktop or somewhere in my computer the path of that folder should appear in the textbox and on click of that button it should check for all the documnets in that folder and it has to display all those documents in one text file. The problem is "How to get the path of that folder or file in the textbox of my tool when i select a folder in my system ?"

Thanks For Your Help!



planoie August 1st, 2007 07:52 AM

You have posted this question in an ASP.NET forum so I think you'll need to provide more detail about what your application is doing. If this application is in ASP.NET then we need to know what system, the server or the client, you are looking to accomplish this task.

-Peter

gaurav_jain2403 August 2nd, 2007 06:42 AM

But planoie,
Is it possible that when someone clicks on the folder on the System, our application realises that the folder is clicked..

dparsons August 2nd, 2007 09:16 PM

You didn't answer Peter's question. Is your application running in the context of a Web Browser or as a Desktop application? Since you posted your question in the ASP.NET forum, I am assuming you have a web app that you need to retrieve the full physical path of X folder and, as Peter said, you need to explain exactly what you are trying to do so that we can give you a more accurate answer.

Basically, you will use the FileSystemInfo Class of the System.IO namespace to achieve this but, again, alot of how you will ultimately accomplish this relies on exactly how you are trying to do this.

hth.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET

Professional IIS 7 and ASP.NET Integrated Programming

================================================== =========


All times are GMT -4. The time now is 08:57 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.