Click to See Complete Forum and Search --> : browse folders and files


kku
December 3rd, 2008, 04:18 AM
hi all

i am try to browse folder and files in common dialog that will show only folder or files both in a same panel but i wish to show all folders and its file on a same window separately....i means when user click on a folder list view then files are show on a 2nd listview

Thread1
December 3rd, 2008, 04:34 AM
i would suggest the standard look and features of OpenFileDialog/FileDialog than creating your own custom browser through form and other controls. Unless you would want to introduce a new feature that is not present on the standard OpenFileDialog.

kku
December 3rd, 2008, 04:50 AM
I want to use" file open dialog" and "folder open dialog" in same window ..is it possible..
have you send me any example

Thread1
December 3rd, 2008, 05:03 AM
IMO, that is not possible.

no, i am not yet sending any sample codes. i am just trying to know first what's your purpose of showing both file and folder browser dialog to the user at the same time, as the former defeats the purpose of the latter.

are you planning to create a windows-explorer-like browser?

kku
December 3rd, 2008, 05:08 AM
ya like "windows-explorer" and when user click OK button then get all files in that folder...

kku
December 3rd, 2008, 05:12 AM
you can see image like this
http://images.google.com.pk/imgres?imgurl=http://www.sapdesignguild.org/community/IMAGES/explorer_tree.gif&imgrefurl=http://www.sapdesignguild.org/community/design/print_hierarchies3.asp&usg=__hICcuzxm9mfnha_kkN01h-KVwck=&h=678&w=658&sz=23&hl=en&start=11&um=1&tbnid=CG1muS21B31FHM:&tbnh=139&tbnw=135&prev=/images%3Fq%3Dwindows-explorer%26um%3D1%26hl%3Den%26sa%3DN
but some functionalities are not require like tool bar,cool bar,status bar menu etc

Thread1
December 3rd, 2008, 05:14 AM
what version of vb.net are you using? do you have the SDK?

or refer to this link:

http://social.msdn.microsoft.com/Search/en-US/?Query=FileViewer

hth

kku
December 3rd, 2008, 05:19 AM
i am using vb.net 2008

kku
December 3rd, 2008, 05:36 AM
I found a article but it is showing error

http://www.codeproject.com/KB/cpp/VbNetExpTree.aspx

HanneSThEGreaT
December 3rd, 2008, 07:31 AM
What do you expect ¿ That article is not for VB.NET :confused:

Have a look at the VB.NET FAQ's here on CodeGuru / or Search CodeGuru, there you'll find an FAQ entitled Windows Explorer Application. That would give you a better picture...