473,566 Members | 2,776 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Directory Listing view.

ngr
I used to use the DirListox control in VB6 but this is no longer supported
in VB.NET.

What I want to do:
I want to take a directory listing and show any subdirectories in a list.
When you click on a directory in the list another list appears with the
directory listing of files and directories within it.

Can anyone please advise how to take a list of directories within a
directory and then independantly of that another routine to take a file
listing.
I would really appreciate any assistance.

Thanks in advance.

Jul 3 '06 #1
2 1695
NGR,

This sounds as the standard dialog DirectoryDialog
(not in version 1.0)

http://msdn2.microsoft.com/en-us/library/ms287330.aspx

I hope this helps,

Cor
"ngr" <ng*@tdrd.karoo .co.ukschreef in bericht
news:nt******** ************@ka roo.co.uk...
>I used to use the DirListox control in VB6 but this is no longer supported
in VB.NET.

What I want to do:
I want to take a directory listing and show any subdirectories in a list.
When you click on a directory in the list another list appears with the
directory listing of files and directories within it.

Can anyone please advise how to take a list of directories within a
directory and then independantly of that another routine to take a file
listing.
I would really appreciate any assistance.

Thanks in advance.

Jul 4 '06 #2
On Mon, 3 Jul 2006 22:19:59 +0100, "ngr" <ng*@tdrd.karoo .co.ukwrote:
>I used to use the DirListox control in VB6 but this is no longer supported
in VB.NET.

What I want to do:
I want to take a directory listing and show any subdirectories in a list.
When you click on a directory in the list another list appears with the
directory listing of files and directories within it.

Can anyone please advise how to take a list of directories within a
directory and then independantly of that another routine to take a file
listing.
I would really appreciate any assistance.

Thanks in advance.

The old DirList, FileList and DriveList controls are stiil supported.
You will have to add them to the ToolBox.

Gene
Jul 4 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3093
by: David Callaghan | last post by:
Hi I've just joined tesco broadband. I've come from NTL. If I don't put an index.htm on my NTL home page it justs lists the files in there when any browser visites my page. If I don't put an index.htm on my Tesco home page, I get a:
19
3298
by: SU News Server | last post by:
I've struggled with this for quite a while and I'm am just not sure what is going on. I have the following code import os def buildList( directory='/Users/mkonrad' ) dirs = listing = os.listdir(directory)
2
3366
by: Tom | last post by:
I need to get a directory listing through http. If I put the directory path in the browser address bar such as http://somewebpage.com/subdir I get the listing of the directory. Of course this is returned to my client in html. To get the directory listing from this I would need to do some intersting parsing. ftp is not enabled and so I can't do...
8
11057
by: gil | last post by:
Is it possible to prevent a browser from listing the entire contents of a folder? The site, is hosted on my ISP with the following layout- site/ "user name from ISP" pagefile (dir) index.html site/pagefile/
1
3363
by: Light | last post by:
Re, I'm having 2 problems with the Telerik trial controls. I'm using the latest release. I'm using 2005 studio and most of the controls show up properly in the designer but the RadMenu does not. It says "Error Creating Control" and then a ton of errors. This occurs both when I use it and in the examples but it does render properly when...
7
5476
by: epikto | last post by:
I have a mapped share that I am trying to get a listing of all the files that it contains. I use the following code to access the contents String files = Directory.GetFiles(path); I can then enumerate through that array to get my listing. However I am trying to set my application up as a service. And now (after calling methods in a...
4
3240
by: techusky | last post by:
I have a *very* simple script written that displays the directory listing of the current working directory, but I am having some difficulty when I try to change folders. Basically, I have my $dir variable set to this: --- $dir = getcwd() . "\\" . $nav; --- but for some reason the script does not actually display the contents of the directory...
0
4118
by: vuhuynh | last post by:
Hello everyone, I just installed Fedora Core 8 and setup VirtualHost on Apache 2.2.0. The issue is when I try to view a directory without the index.html, it should display the directory listing but it doesn't and it gives an erro 403 forbidden. This is the configuration that I have for the directory of one of the VirtualHost. ...
1
5660
by: Steve | last post by:
My site is hosted on a Godaddy reseller site. Godaddy only allows the use of Curl to access remote sites. What is the method for listing a directory after connecting to the site with Curl? I've already tested my code for connecting but how do I list whats in the directory. The purpose is to compare the list to the filenames in my...
0
7584
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7888
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8108
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7644
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7951
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2083
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1201
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.