1

I am using the following code to open an Open FileDialog:

OpenFile("D:\\");

I get "Access denied".

How might I open an OpenFileDialog window an a web application?

3
  • I want if i am clicking on a button than OpenFileDialog window should open. Commented May 12, 2012 at 5:27
  • 1
    possible duplicate of 'open file' dialog in ASP.NET Commented May 12, 2012 at 7:38
  • Do you need open a dialogue for a file which is located on client or server? Commented May 15, 2012 at 18:33

1 Answer 1

1

Perhaps you should tell us more about what you are trying to achieve. Any call to common dialogues from the server side will be (try to be) performed on the server. To provide the user with the facility to eq. choose and upload file, you need to use other methods that will be invoked on client side (JScript, Flash, Silverlight...).

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.