This project is read-only.

Vfrp2c32 - GetOpenFileName

Jun 2, 2011 at 5:46 PM

Is there anyway to define an initial directory and prevent user from going below that directory?

We have users on hosted systems and we want to prevent them looking at other users files.


Jun 3, 2011 at 8:19 AM


The initial directory can be specified as one of the parameters of the function.
I not aware of a way to limit the selected directories though.

Users could also just open the Explorer and browse to the respective directory manually.
I think the only reliable way to implement what you need is by setting NTFS security rights on the folders for each user.