Click here to Skip to main content
15,911,711 members
Home / Discussions / C#
   

C#

 
Questionexcel data display Pin
mist_psycho4-Apr-09 4:22
mist_psycho4-Apr-09 4:22 
AnswerRe: excel data display Pin
Xmen Real 4-Apr-09 5:53
professional Xmen Real 4-Apr-09 5:53 
AnswerRe: excel data display Pin
fly9044-Apr-09 6:06
fly9044-Apr-09 6:06 
Questionexcel data display Pin
mist_psycho4-Apr-09 4:21
mist_psycho4-Apr-09 4:21 
Question[Message Deleted] Pin
hkjghkj14-Apr-09 3:43
hkjghkj14-Apr-09 3:43 
AnswerRe: Using Folder in the project Pin
Luc Pattyn4-Apr-09 3:57
sitebuilderLuc Pattyn4-Apr-09 3:57 
General[Message Deleted] Pin
hkjghkj14-Apr-09 4:08
hkjghkj14-Apr-09 4:08 
GeneralRe: Using Folder in the project Pin
Luc Pattyn4-Apr-09 4:55
sitebuilderLuc Pattyn4-Apr-09 4:55 
Not sure what it is you want, here are some facts:
- you can only read/write files in existing folders;
- you can create folders using Directory.CreateDirectory (there is no need to test existence first).
- some folders may be "write protected" or "access denied" (more so on Vista).
- there are some "preferred locations" for data files belonging to an app, for data files for a particular user, etc. Have a look at Environment.GetFolderPath(). Don't be surprised if the result depends on the Windows version ("Documents and Settings" on XP became "Users" on Vista).
I tend to use Environment.SpecialFolder.ApplicationData quite a lot.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets


General[Message Deleted] Pin
hkjghkj14-Apr-09 5:07
hkjghkj14-Apr-09 5:07 
GeneralRe: Using Folder in the project Pin
Luc Pattyn4-Apr-09 5:09
sitebuilderLuc Pattyn4-Apr-09 5:09 
GeneralRe: Using Folder in the project Pin
Xmen Real 4-Apr-09 5:46
professional Xmen Real 4-Apr-09 5:46 
QuestionHow to link in a web page within windows project Pin
Rahad Rahman3-Apr-09 23:18
professionalRahad Rahman3-Apr-09 23:18 
AnswerRe: How to link in a web page within windows project Pin
DaveyM693-Apr-09 23:28
professionalDaveyM693-Apr-09 23:28 
Questiontreelistview key Navigation problem Pin
hirenkshah3-Apr-09 22:46
hirenkshah3-Apr-09 22:46 
AnswerRe: treelistview key Navigation problem Pin
Xmen Real 4-Apr-09 1:14
professional Xmen Real 4-Apr-09 1:14 
QuestionGridview Binding Pin
K V Sekhar3-Apr-09 22:33
K V Sekhar3-Apr-09 22:33 
AnswerRe: Gridview Binding Pin
Christian Graus3-Apr-09 23:16
protectorChristian Graus3-Apr-09 23:16 
QuestionCreating application settings at runtime? Pin
Sokka933-Apr-09 21:33
Sokka933-Apr-09 21:33 
AnswerRe: Creating application settings at runtime? Pin
DaveyM693-Apr-09 22:41
professionalDaveyM693-Apr-09 22:41 
AnswerRe: Creating application settings at runtime? Pin
Henry Minute4-Apr-09 6:21
Henry Minute4-Apr-09 6:21 
Answer[Message Deleted] Pin
rick05565-Aug-09 5:25
rick05565-Aug-09 5:25 
AnswerRe: Creating application settings at runtime? Pin
rick05565-Aug-09 5:26
rick05565-Aug-09 5:26 
GeneralRe: Creating application settings at runtime? Pin
Sokka935-Aug-09 5:48
Sokka935-Aug-09 5:48 
QuestionHindi fonts are not shown in Exported PDF Pin
tauras813-Apr-09 20:52
tauras813-Apr-09 20:52 
QuestionPassing multiple parameters to query which counts number of rows in C# Pin
Deepali Khalkar3-Apr-09 19:23
Deepali Khalkar3-Apr-09 19:23 

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.