open file dialog

M

Mike

I have a app that allows users to select a file and upload the file to a
server. When the user hits the Select File button they get a permission
error, and not allowing them to search for a file with the OpenFile Dialog
box. I can search for a file on my development machine.

What do i need to do or add to the code to allow the user to access their
own C drive.
Note: They need to run the exe off the server
 
H

Herfried K. Wagner [MVP]

* "Mike said:
I have a app that allows users to select a file and upload the file to a
server. When the user hits the Select File button they get a permission
error, and not allowing them to search for a file with the OpenFile Dialog
box. I can search for a file on my development machine.

You may want to ask this question in this group, it's not related to the
VB.NET programming language:

<
 
C

Cor

Hi Mike,

Just an idea, is it possible you did set your
OpenFileDialog.InitialDirectory on a protected directory or maybe because
you did not set it they get a directory from the registry from the server?

Just a thought, I am not sure but the change that it is this is big?

Will you tell us if it was, so we know for the next time?

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top