View Single Post
 
Old 03-06-2014, 02:49 PM
PlausiblyDamp's Avatar
PlausiblyDamp PlausiblyDamp is offline
Ultimate Contributor

Forum Leader
* Expert *
 
Join Date: Nov 2003
Location: Newport, Wales
Posts: 2,058
Default

Easiest way is to use the SpecialFolder enumeration to locate where the file is. If the file needs to be system wide then SpecialFolder.CommonApplicationData is probably best, if it needs to be per user then SpecialFolder.ApplicationData is more suitable.

The example on the linked page should give you an idea how to use the enumeration to obtain a folder path.
__________________
Intellectuals solve problems; geniuses prevent them.
-- Albert Einstein

Posting Guidelines Forum Rules Use the code tags
Reply With Quote