Solved

Link treeview control to network - Same as Window Explorer

Posted on 2002-04-15
5
222 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Input past end of file vbs script 9 81
Visual Studio search word table and return Cell index 8 48
TT Auto Dashboard 13 80
MS Access 03, TransferText, decimal places 8 37
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

919 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now