473,498 Members | 1,528 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

replacement of dir, drive, file list boxes in .net

hi

Can any one help me in this matter.

In vb 6.0 we have drive control, dir control and file list boxes. the same
functionality i need it in vb.net. i am finding difficulty in doing this can
any one help me?
Nov 21 '05 #1
8 5241
"A HARI" <A HA**@discussions.microsoft.com> schrieb:
In vb 6.0 we have drive control, dir control and file list boxes. the same
functionality i need it in vb.net. i am finding difficulty in doing this
can
any one help me?


..NET Folder Browser and Picker
<URL:http://www.codeproject.com/cs/miscctrl/mkfolderbrowser.asp>

FolderTreeView control
<URL:http://www.codeproject.com/cs/miscctrl/foldertreeview.asp>

Folder, Drive, Directory Browser
<URL:http://www.codeproject.com/csharp/CustomFolder_Drive_DBrows.asp>

Drive Box
<URL:http://www.codeproject.com/cs/combobox/drivebox.asp>

<URL:http://www.gotdotnet.com/team/vb/FolderBrowser.exe>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #2
Mr MVP,

Why do you point people to C# code in a VB.NET forum? You do it all the
time. If they wanted C# then they would obviously post the question in a C#
forum.

Maybe you would convert the code for the user because they may/may not be
good enough to translate it themselves.
Nov 21 '05 #3
"Crouchie1998" <Cr**********@discussions.microsoft.com> schrieb:
Why do you point people to C# code in a VB.NET forum? You do it all the
time. If they wanted C# then they would obviously post the question in a
C#
forum.
My philosophy is that a C# article is better than no article at all. In
addition to that, language interoperability is a core concept of the .NET
technology. Every .NET developer should be able to use both C# /and/
VB.NET.
Maybe you would convert the code for the user because they may/may not be
good enough to translate it themselves.


What's the sense of converting the code? Just add a C# class library to the
solution, add the C# classes and use the C# library in your VB.NET
application. That's a typical scenario in .NET development.

Quoting from one of my previous posts:

| ... I remember I already told you that if /I/ am looking for a
| solution, I would even read Chinese webpages (note that I
| do /not/ speak Chinese and I do /not/ understand text written
| in Chinese

Just my 2 Euro cents...

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #4
A Hari,
There is the much nicer OpenFileDialog, SaveFileDialog, FolderBrowserDialog
(Net1.1 + sp1)
For the ones you ask you can load the VB powerpack where in are the controls
FileViewer and FolderViewer.

Download
http://www.gotdotnet.com/Commu*nity/...aspx*?id=16754...
Description
http://msdn.microsoft.com/vbas*ic/de...ary/*en-us/dv_...
I hope this helps a little bit?
Cor

Nov 21 '05 #5
Herfried,

We disagree about the context what you wrote.

When it is obvious an advanced user, than we can agree.

You showed C# samples (I did not check it, I assume it because your own
answer) too an obvious new user from the dotNet technology.

That can in normal situations only scare the OP, not help him.

Your own knowledge of that is not the measurement what the OP should know
and you give him in my opinion a wrong idea about that with your last
message.

We cannot be all as good as you in the Chinese language, I wrote that more
times too you (Although I would act like you as I wrote as well).

:-)

Just my thought,

Cor
Nov 21 '05 #6
Cor,

"Cor Ligthert" <no************@planet.nl> schrieb:
When it is obvious an advanced user, than we can agree.

You showed C# samples (I did not check it, I assume it because your own
answer) too an obvious new user from the dotNet technology.

That can in normal situations only scare the OP, not help him.


I have to disagree. If the OP still has questions, he will ask them, and he
will get an answer. No need to spend hours on translating code if the OP
doesn't need the translated code at all.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #7
Herfried,

I have to disagree. If the OP still has questions, he will ask them, and
he will get an answer. No need to spend hours on translating code if the
OP doesn't need the translated code at all.


As others have written to me, don't try it with Herfried, he will never
learn, and me idiot did try it again.

Sorry

Cor
Nov 21 '05 #8
Cor,

"Cor Ligthert" <no************@planet.nl> schrieb:
I have to disagree. If the OP still has questions, he will ask them, and
he will get an answer. No need to spend hours on translating code if the
OP doesn't need the translated code at all.


As others have written to me, don't try it with Herfried, he will never
learn, and me idiot did try it again.


No problem. In contrast to others I strongly believe that people posting
questions to this group have a brain too and are not too shy to ask, if they
don't understand/cannot use C# code.

:-)

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #9

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

Similar topics

1
3185
by: Bond13579 | last post by:
I'm building a web application using PHP to play my mp3z. My first step is to just list the albums that I have. Each album is a folder on my hard drive. The problem I am having is that I'm...
13
7167
by: jenny | last post by:
Hi, I am trying to find a VB way that would create a folder on all existing drives - the folder name would be the same on each drive. ie c:\backup, d:\backup, etc. But the folders would only be...
5
2494
by: Paul Miller | last post by:
We've run into minidom's inabilty to handle large (20+MB) XML files, and need a replacement that can handle it. Unfortunately, we're pretty dependent on a DOM, so a pulldom or SAX replacement is...
92
6327
by: Reed L. O'Brien | last post by:
I see rotor was removed for 2.4 and the docs say use an AES module provided separately... Is there a standard module that works alike or an AES module that works alike but with better encryption?...
34
2392
by: kevin.watters | last post by:
Hi all, I have a need for a short program: Given a drive letter, it would recursively search through all directories, "generating" each filename that it encounters (need to pass each filename...
2
3442
by: kj7ny | last post by:
I am attempting to incrementally back up files using python. How can I compare a file on a hard drive to a file in a python created zip file to tell if the file has changed? Or should I be using...
23
3710
by: Rotsey | last post by:
Hi, I am writing an app that scans hard drives and logs info about every fine on the drive. The first iteration of my code used a class and a generic list to store the data and rhis took...
4
3025
by: vbshanes | last post by:
We use Samba on a SCO Unix box as our file server / backup device. I have a directory mapped as a Windows drive. I read / write files from this remote drive with my VB,net application. This...
0
2895
by: Del | last post by:
Hello and thanks for any and all assistance! I have a database that is used by several users on several different machines. The backend database is housed on a file server. Each user has a...
0
7124
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
6998
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
7163
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
7200
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...
0
7375
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...
1
4904
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...
0
3090
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...
1
651
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
287
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.