Solved

Link treeview control to network - Same as Window Explorer

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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 process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

803 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