My.Computer.FileSystem.SpecialDirectories


The My.Computer.FileSystem.SpecialDirectories property returns a SpecialDirectoriesProxy object that has properties giving the locations of various special directories (such as the system’s temporary directory and the user’s My Documents directory). The following table summarizes these special directory properties.

Open table as spreadsheet

Property

Purpose

AllUsersApplicationData

The directory where applications should store settings for all users (typically, C:\Documents and Settings\All Users\ Application Data\<company>\<product>\<version>).

CurrentUserApplicationData

The directory where applications should store settings for the current user (typically, C:\Documents and Settings\ <user>\Application Data\<company>\<product>\ <version>).

Desktop

The current user’s desktop directory (typically, C:\Documents and Settings\<user>\Desktop).

MyDocuments

The current user’s My Documents directory (typically, C:\Documents and Settings\<user>\My Documents).

MyMusic

The current user’s My Music directory (typically, C:\Documents and Settings\<user>\My Documents\ My Music).

MyPictures

The current user’s My Pictures directory (typically, C:\Documents and Settings\<user>\My Documents\ My Pictures).

Programs

The current user’s Programs directory (typically, C:\Documents and Settings\<user>\Start Menu\Programs).

Temp

The current user’s temporary directory (typically, C:\Documents and Settings\<user>\Local Settings\Temp).




Visual Basic 2005 with  .NET 3.0 Programmer's Reference
Visual Basic 2005 with .NET 3.0 Programmer's Reference
ISBN: 470137053
EAN: N/A
Year: 2007
Pages: 417

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net