vb.net - Error when trying to open folder with OpenFileDialog -


in form have button launch windows explorer open document. try open folder file located error:

open file error

i same error when using initialdirectory so:

'open dialog select file, excel files can selected(.xls, .xlsx, .xlsm)  openfiledialog1.reset()  openfiledialog1.filter = "excel files|*.xls;*.xlsx;*.xlsm"  openfiledialog1.initialdirectory = "https://stuff.ca/blabladocsdav/nodes/3175677/"  openfiledialog1.showdialog() 

but don't error if paste path in address bar. when pasting path in address bar i can select file , open it.

edit 1: picture visual show result when working

edit 2: did more testing: can open or save file if give specific path can't open directory , let user chose save it. ideas how resolve issue?


Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -