473,412 Members | 4,127 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

populating all the files and folders of System in a Treeview control like Windows Explorer

Hi

I want to populate all the files and folders of System in a Treeview control
like Windows Explorer.
I try this using File System Objects. But sometimes I am getting an error
like 'Access Denied".

Why am I getting an error like this?

How to populate the TreeView with Folders and files of the System?

Thanks and regards
Karuppasamy Natarajan



Jul 19 '05 #1
2 6049
Hi Karuppasamy,

Just a question - Why do you want to load the System/System32 folder(s) and
its children into a tree view (or do you mean all folders in the system)?

If you mean all folders, then you are proberbly getting 'access denied' on
the personal folders of a user. When a user logs onto NT/W2K/XP, these
folders are created, access is then set for them only (even if you are
Admin). Things stored here are My Documents etc...

Hope this helps!
--
MARK TRUDGEON
fz****@unison.ie

This posting is provided "as is", with no warranties, and confers no rights.


"Karuppasamy" <Ka*******************@isoftplc.com> wrote in message
news:#u**************@tk2msftngp13.phx.gbl...
Hi

I want to populate all the files and folders of System in a Treeview control like Windows Explorer.
I try this using File System Objects. But sometimes I am getting an error
like 'Access Denied".

Why am I getting an error like this?

How to populate the TreeView with Folders and files of the System?

Thanks and regards
Karuppasamy Natarajan


Jul 19 '05 #2
There is a good solution in the 101 VB.Net samples on the MSDN website.
Don't have the link but I am sure you can find it.

VB.NET - Windows Forms - Create an Explorer Style Application

BTW, why so many NGs selected for this post?

HTH,
Brian P. Hammer
"Karuppasamy" <Ka*******************@isoftplc.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hi

I want to populate all the files and folders of System in a Treeview control like Windows Explorer.
I try this using File System Objects. But sometimes I am getting an error
like 'Access Denied".

Why am I getting an error like this?

How to populate the TreeView with Folders and files of the System?

Thanks and regards
Karuppasamy Natarajan


Jul 19 '05 #3

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

Similar topics

3
by: Steve Richter | last post by:
in windows explorer, the nodes immed under the "my computer" root node appear with a minimum of indenting ( the +/- square is directly underneath the root node ). In the .NET TreeView control the...
3
by: Rajiv Das | last post by:
VS 2003, XP SP2 ------------------------------------------------------------ DirectoryInfo temporary = new DirectoryInfo( Environment.GetFolderPath(Environment.SpecialFolder.InternetCache));...
2
by: Glen | last post by:
As I understand it, when the first page of an application is accessed, all ASPX/ASCX/etc. files in the same folder are compiled using the JIT compiler. Is there a way to turn this feature off? ...
1
by: Nut Cracker | last post by:
Hello, If anyone can point me to a good ASP based Control Panel for IIS5, I would be much obliged. I hacked together an ASP site for file uploads and sharing. Its very simple, and basically...
3
by: rao | last post by:
Hi All, I am generating temporary xml files to bind it to tree view control. A unique xml file is generated for each user. I generating these files Using streamwriter class. Later when I try to...
5
by: Rothariger | last post by:
Hello.... i want to know if its posible to rename multiple files like windows does.. example: file zzzzzzz.doc file asdasd.doc file esfsefse.doc
4
by: Karuppasamy | last post by:
Hi I want to populate all the files and folders of System in a Treeview control like Windows Explorer. I try this using File System Objects. But sometimes I am getting an error like 'Access...
0
by: Bomac8 | last post by:
I have a text file with "|" as a delimeter with three (3) fields XXX-12345|\\YYYYYYY|\\ZZZZZZZZ I need to read these files into an output folder. The problem that I'm having is that I need to...
1
by: =?Utf-8?B?UmljaA==?= | last post by:
I am using a web browser control in my program for bringing up files/folders in Windows Explorer on a given user's workstatino -- searching special files/folders on the company server. This works...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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,...

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.