Temp Property


Temp Property

Location

My.Computer.FileSystem.SpecialDirectories.Temp

Syntax

     Dim result As String = My.Computer.FileSystem. _    SpecialDirectories.Temp 

Description

The Temp property returns the full path name to the temporary files folder for the current user on the local workstation. Usually, this directory is found at C:\Documents and Settings\user\Local Settings\Temp," but it may vary from system to system.

Usage at a Glance

  • This property is read-only.

  • This folder contains application-generated temporary files and directories.

  • This path may not be defined in some cases. In such cases, use of this property generates an exception.

  • The returned path will never have a backslash "\" character at the end.

Related Framework Entries

  • Microsoft.VisualBasic.MyServices.SpecialDirectoriesProxy.Temp Property

  • Microsoft.VisualBasic.FileIO.SpecialDirectories.Temp Property

See Also

AllUsersApplicationData Property, CurrentUserApplicationData Property, Desktop Property, MyDocuments Property, MyMusic Property, MyPictures Property, ProgramFiles Property, Programs Property, SpecialDirectories Object




Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

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