how can i open a folder using dirlistbox

Take a look at the form (code) I placed on thread:

http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/379911

It uses a DirListBox, (shows up on the left side of the form).

Copy the entire code section and paste into a text file, then rename the text file FN.frm

Add that .frm file to your VB project.

Take note of the comments at the top of the code section after opening the form in your VB project.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.