Solved

Link treeview control to network - Same as Window Explorer

Posted on 2002-04-15
5
227 Views
Last Modified: 2007-12-19
Hi experts

How do i use the treeview component on my form so that it links to the network directories, just like windows explorer??

thanks woollar1
0
Comment
Question by:woollar1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 2

Expert Comment

by:DanAvni
ID: 6944247
if you are looking for a way for the user to select a folder have a look at this:
http://216.5.163.42/vb/scripts/ShowCode.asp?txtCodeId=33574&lngWId=1
0
 

Author Comment

by:woollar1
ID: 6944475
Hi DanAvni
thanks for your time and the link
the download software was nice, but not what i was looking for.

VB has a component Dirlistbox which shows all the folders easily.

VB also has a component filelistbox which displays all the files for the current folder.

BUt surely you can use the treeview component to view all folders and when you click on a folder, you can then see all the files, just like explorer....

well i guess i am going to have to use Dirlistbox  with filelistbox..

How can you link these two components so that the filelsitbox shows all the files for the currently directory clicked in the dirlistbox??????

thanks woollar1
0
 
LVL 1

Accepted Solution

by:
olx earned 100 total points
ID: 6946077
use ccrpfd.ocx

go to www.mvps.org/ccrp

its simple and free

    Me.ccrpFileDialogs1.ShowOpen
    file = Me.ccrpFileDialogs1.filename
   
    'or
   
    Me.ccrpFileDialogs1.ShowSave
    file = Me.ccrpFileDialogs1.filename
   
   

0
 

Author Comment

by:woollar1
ID: 6949211
HI experts
Okay..this application is over the top. ccrpfd.ocx

Want i really want is the windows version of an

    "open dialog box..."

sorry if i am not concise and using your time inappropiately...

thanks, woolla1
0
 

Author Comment

by:woollar1
ID: 6949235
whoops..sorry i have found a common dialog box which does the trick..sorry for wasting your time!!!!!!

i will allocate the points..
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question