Search:
Namespaces
Discussions
.NET v1.1
Feedback
Finding files in Directory
Messages
Related Types
This message was discovered on
microsoft.public.dotnet.languages.jscript
.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
Post a new message to this list...
anand
Hi,
I want to get all the files in a directory using System.DirectoryServices
The error I am getting is "DirectoryEntry" is not defined?
Can anybody help me.
Any sample?
Thanks
-Anand
Reply to this message...
Jay B. Harlow [MVP - Outlook] (VIP)
Anand,
System.DirectoryServices is used to access Active
Directory
, which is the
accounts on your network, not the files in a folder.
To find the files in a folder, try using the System.IO.
Directory
class,
specifically
Directory
.GetFiles.
Hope this helps
Jay
"anand" <
Click here to reveal e-mail address
> wrote in message
news:ccg7oa$7ug$
Click here to reveal e-mail address
...
[Original message clipped]
Reply to this message...
System.DirectoryServices.DirectoryEntry
System.IO.Directory
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com