Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB.NET
|
VB.NET General VB.NET discussions for issues that don't fall into other VB.NET forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 20th, 2005, 11:36 AM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default Finding the properties of a file

How can the owner of a file be ascertained?
How can the security information be found?

Obviously, since the file can be right-clicked in Windows Explorer, properties selected from the pop-up context menu, and Security viewed from there, the information is available... But how can this be done from within a .NET app?

I want to find all the files that I am the owner of, so that I can back them up. We're about to have a full network replacement, including replacing the workstations, and I don't want to lose anything that I have created...

I intend to make a recursive app to search the disc for the files I am the owner of.
 
Old August 6th, 2005, 12:58 PM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 623
Thanks: 0
Thanked 1 Time in 1 Post
Default

I can not exactly get your meaning,you can get the attribute of every file and set them with new ones..also yuo can get the account which the current user have been loged on(i.e it could be an Administrator or Guest,...)

_____________
Mehdi.
software student.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding the properties of a file BrianWren Pro VB.NET 2002/2003 0 July 20th, 2005 11:38 AM
Accessing properties file outside jar file anand_indya J2EE 0 December 8th, 2004 06:34 AM
properties file reading babuchelat J2EE 2 August 27th, 2004 12:32 AM
reading properties file babuchelat BOOK: Expert One-on-One J2EE Design and Development 0 May 22nd, 2004 07:04 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.