How to select a folder from my computer and store the path of the folder in a textbox in asp.net? [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I have tried FileUpload, it can select only files and also I cannot get full path of the file when I try with browsers other than Internet Explorer. I think I need an alternative for FolderBrowserDialog for asp.net.

You can't get the full filepath from a file being upload, because it's on the client's computer, the browser has no access to this information, for security.

Related

Adding and deleting files from my playlist. (WPF) [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have tried OpenFileDialog but I just can not do it right. What should be my C# code that would allow me to add and remove files from my playlist?
for your problem in wpf for open file dialog whatch thi link Open file dialog and select a file using WPF controls and C#
and for add and remove items by code watch this link http://www.c-sharpcorner.com/resources/643/how-to-add-and-remove-items-in-a-wpf-listbox.aspx

access to the files of bin folder on c# (convert .dll to .cs) [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I was working with my PC, and during developing my project the system had restarted, the problem is I had to lost my last code.
So is there any solution to use "last project" with "new bin-folder", my mean is can I combination those files with project ?
Thank you
You should probably have a look at this decompiler and give it a shot:
http://www.jetbrains.com/decompiler/

is there a way to know where is the solution from a published site folder? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I have a published website that I need to modify, but could not find the solution to open the project. Is there a file, even in the IIS or in the published website folder that could have the path of where that project is?
There is no way knowing where your solution is other than searching your hard drives for "*.sln"

How to find the path of a file using asp.net [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am creating a website in which I need to find out the path of the downloaded files.For instance if there is an image Image1.jpeg, downloaded and saved somewhere in the system.Is there a way through which we can find out the path of that image?
If you mean: how to retrieve an uploaded image, the answer is: not possible. An uploaded image (or just any file) consists of a name an a list of bytes. You have to save it yourself.
If you are asking about downloaded files on the client, well, they are on the client, so outside of your control.

ASP.NET MVC Get full path of shared folder when call file.SaveAs method [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I have two IIS: publicIIS and privateIIS. On publicIIS I create a shared folder which is named "Data". I use privateIIS to upload file and save it to "Data". I use file.SaveAs() method but it required the root path. How do I retrieve full path of shared folder? Is it posible?
Actually, the network path when I pass to method SaveAs, it will get physical path.

Categories