Click here to Skip to main content
15,914,820 members
Home / Discussions / C#
   

C#

 
QuestionWhere to write my program data? Pin
Amir_Saniyan14-Sep-10 0:00
Amir_Saniyan14-Sep-10 0:00 
AnswerRe: Where to write my program data? Pin
Enobong Adahada14-Sep-10 0:21
Enobong Adahada14-Sep-10 0:21 
GeneralRe: Where to write my program data? Pin
Amir_Saniyan14-Sep-10 0:23
Amir_Saniyan14-Sep-10 0:23 
GeneralRe: Where to write my program data? Pin
Enobong Adahada14-Sep-10 0:35
Enobong Adahada14-Sep-10 0:35 
GeneralRe: Where to write my program data? Pin
Amir_Saniyan14-Sep-10 1:02
Amir_Saniyan14-Sep-10 1:02 
AnswerRe: Where to write my program data? Pin
Luc Pattyn14-Sep-10 0:47
sitebuilderLuc Pattyn14-Sep-10 0:47 
AnswerRe: Where to write my program data? Pin
PIEBALDconsult14-Sep-10 3:11
mvePIEBALDconsult14-Sep-10 3:11 
AnswerRe: Where to write my program data? Pin
Luc Pattyn14-Sep-10 3:22
sitebuilderLuc Pattyn14-Sep-10 3:22 
PIEBALDconsult wrote:
At least %ALLUSERSPROFILE%\Application Data\your app


No no, one really should use the appropriate method to get there (e.g. Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData)) as the folder names may evolve from one Windows edition to the next, and are called differently in different regions. And then they may add Local, Roaming, and other goodies, your app can't possibly keep up with all of that.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


GeneralRe: Where to write my program data? Pin
PIEBALDconsult14-Sep-10 17:57
mvePIEBALDconsult14-Sep-10 17:57 
GeneralRe: Where to write my program data? Pin
DaveyM6914-Sep-10 21:37
professionalDaveyM6914-Sep-10 21:37 
GeneralRe: Where to write my program data? Pin
PIEBALDconsult15-Sep-10 3:39
mvePIEBALDconsult15-Sep-10 3:39 
GeneralRe: Where to write my program data? Pin
DaveyM6915-Sep-10 7:55
professionalDaveyM6915-Sep-10 7:55 
GeneralRe: Where to write my program data? Pin
PIEBALDconsult15-Sep-10 4:57
mvePIEBALDconsult15-Sep-10 4:57 
GeneralRe: Where to write my program data? Pin
Luc Pattyn15-Sep-10 5:07
sitebuilderLuc Pattyn15-Sep-10 5:07 
GeneralRe: Where to write my program data? Pin
PIEBALDconsult15-Sep-10 15:59
mvePIEBALDconsult15-Sep-10 15:59 
GeneralRe: Where to write my program data? Pin
Luc Pattyn15-Sep-10 16:05
sitebuilderLuc Pattyn15-Sep-10 16:05 
GeneralRe: Where to write my program data? Pin
PIEBALDconsult15-Sep-10 16:09
mvePIEBALDconsult15-Sep-10 16:09 
AnswerRe: Where to write my program data? Pin
DaveyM6914-Sep-10 9:12
professionalDaveyM6914-Sep-10 9:12 
QuestionStart point of a classlib Proj Pin
Enobong Adahada13-Sep-10 23:16
Enobong Adahada13-Sep-10 23:16 
AnswerRe: Start point of a classlib Proj Pin
OriginalGriff13-Sep-10 23:52
mveOriginalGriff13-Sep-10 23:52 
QuestionConnection String for MySQL in C#.Net2.0 Pin
Varun Sareen13-Sep-10 22:32
Varun Sareen13-Sep-10 22:32 
AnswerMessage Closed Pin
13-Sep-10 23:35
stancrm13-Sep-10 23:35 
GeneralRe: Connection String for MySQL in C#.Net2.0 Pin
Varun Sareen13-Sep-10 23:38
Varun Sareen13-Sep-10 23:38 
GeneralMessage Closed Pin
14-Sep-10 0:00
stancrm14-Sep-10 0:00 
GeneralRe: Connection String for MySQL in C#.Net2.0 Pin
Varun Sareen14-Sep-10 0:26
Varun Sareen14-Sep-10 0:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.