borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2008 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Next Topic (Help with a VB Script (Processes) (Advanced)) New Topic New Poll Post Reply
AndreaVB Forum : VB General : Browse dialog box
Poster Message
kerim
Level: Trainee

Registered: 05-05-2008
Posts: 2

icon Browse dialog box

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)

05-05-2008 at 07:10 AM
View Profile Send Email to User Show All Posts | Quote Reply
admin
Level: Administrator


Registered: 04-04-2002
Posts: 550
icon Re: Browse dialog box

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

05-05-2008 at 07:39 AM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
AndreaVB Forum : VB General : Browse dialog box
Next Topic (Help with a VB Script (Processes) (Advanced)) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Il portale per lui e lei | Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2008 Andrea Tincaniborder