AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile
Dear Mr. Tincani, I happenned to use your very nice code (attached) in my VB6 project. Thank you for that. I have a question If You could help me with it please. Only the network neighborhood can be browsed due to CSIDL_NETHOOD given in the code below. And I have only one option. Whichever I write in stead of CSIDL_NETHOOD that comes in the browse folder dialog. “MsgBox BrowseFolders(hWnd, "Select a Folder", BrowseForFolders, CSIDL_NETHOOD)” But I want to see all below: CSIDL_BITBUCKET = 10 CSIDL_CONTROLS = 3 CSIDL_DESKTOP = 0 CSIDL_DRIVES = 17 CSIDL_FONTS = 20 CSIDL_NETHOOD = 18 CSIDL_NETWORK = 19 CSIDL_PERSONAL = 5 CSIDL_PRINTERS = 4 CSIDL_PROGRAMS = 2 CSIDL_RECENT = 8 CSIDL_SENDTO = 9 CSIDL_STARTMENU = 11 How can I do that? Abdulkerim POLAT ____________________________Attached: orfoldersstandarddialogbox.zip 1 KB (Downloads: 2)
Just try to call it this way: MsgBox BrowseFolders(hWnd, "Select a Folder", BrowseForEverything, CSIDL_DESKTOP) but maybe what you are looking for is not possible with this API call, you can select only one initial position to start browsing... ____________________________ AndreaVB