473,466 Members | 1,413 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

vb.net equivalent to Drive List Box

Hi
I need the functionallty of the vb 6 Drive List Box in my .NET application.
I can't find it anywhere.

Help?

BrianDH
Nov 21 '05 #1
2 8578
YOu can build your own really easy You can use the DirectoryInfo class and
jsut iterate through the root directories
http://msdn.microsoft.com/library/de...sRootTopic.asp

HTH,

Bill

"BrianDH" <Br*****@discussions.microsoft.com> wrote in message
news:E9**********************************@microsof t.com...
Hi
I need the functionallty of the vb 6 Drive List Box in my .NET
application.
I can't find it anywhere.

Help?

BrianDH

Nov 21 '05 #2
Brian,

The folderbrowserdialog (Net 1.1 and SP1 needed for the bug) is in my
opinion a lot nicer, however there is a classic drive listbox in the vbnet
powerpack.

Download
http://www.gotdotnet.com/Community/W...f-c111fe60ed58

Description
http://msdn.microsoft.com/vbasic/def...werpack_topic8
I hope this helps,

Cor
Nov 21 '05 #3

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

Similar topics

5
by: Harry J. Smith | last post by:
How do you select a drive to write a file to? In Visual Basic it is ChDrive("D") where D is the new drive letter. How do you do it in C#? I could not find it in the msdn Library or at the...
1
by: Elmo Watson | last post by:
I'm just now changing over to VB.net - I used VB6 for years - - but, now with the advent of 2.0 - I like the new stuff - So - all that aside - - in VB6, there was a Drive List/FolderList and...
6
by: Lonnie Princehouse | last post by:
List comprehensions appear to store their temporary result in a variable named "_" (or presumably "_", "_" etc for nested comprehensions) In other words, there are variables being put into the...
4
by: Mark Rae | last post by:
Hi, Is it possible to create a case-insensitive List<stringcollection? E.g. List<stringMyList = new List<string>; MyList.Add("MyString"); So that:
1
by: pa2ratczi | last post by:
Hi vb experts just wondering, if is it possible to search files with out using DirList and FileList, only DriveList, and can it search not only in the root drive but at the same time with all the...
4
by: yellowblueyellow | last post by:
Hey All, I am using the following line of code to pick all logical drives on the local machine: string drives = Directory.GetLogicalDrives(); using the above code I can get output in the...
5
by: Marge | last post by:
are there any examples of suggested methods to get the same results as the old DriveListBox & DirListBox from VB6. Express uses the openfiledialog but examples would be a great time saver,...
9
by: =?Utf-8?B?VHJlY2l1cw==?= | last post by:
Hello, Newsgroupians: I've an optimization question for you all really quick. I have a stream that I am reading some bytes. At times, the stream can contain a small amount of bytes such as 50...
2
pbala
by: pbala | last post by:
Is there any control for Directory list, Drive list, file list in vb.net 2005
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
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...
1
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

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.