J
jabslim via DotNetMonster.com
excuse me, may i ask on how to open files only in drive "e:\" (which is my
usb port for flash drives) using openfiledialog? because in the
openfiledialog, even when i set my initialdirectory to drive "e:\", people
can still browse other drives(drive c, d, etc. )
so for example, when they insert their flash drives, then they open the
openfiledialog, how can i make an error trap on how to let them open files
only in their flash drives which is drive "e:\"? and when they try to open
files from drive c or other drives, a msgbox will appear like "sorry, you can
open files only in drive e".
can anyone post a code for this? thanks!!
usb port for flash drives) using openfiledialog? because in the
openfiledialog, even when i set my initialdirectory to drive "e:\", people
can still browse other drives(drive c, d, etc. )
so for example, when they insert their flash drives, then they open the
openfiledialog, how can i make an error trap on how to let them open files
only in their flash drives which is drive "e:\"? and when they try to open
files from drive c or other drives, a msgbox will appear like "sorry, you can
open files only in drive e".
can anyone post a code for this? thanks!!