Click here to Skip to main content
15,900,477 members
Home / Discussions / C#
   

C#

 
GeneralRe: Print Datagridview [modified] Pin
yueru21-May-09 18:49
yueru21-May-09 18:49 
QuestionC1FlexGrid column ordering Pin
gvanto20-May-09 17:56
gvanto20-May-09 17:56 
AnswerRe: C1FlexGrid column ordering Pin
Jimmanuel21-May-09 0:30
Jimmanuel21-May-09 0:30 
GeneralRe: C1FlexGrid column ordering Pin
gvanto21-May-09 14:17
gvanto21-May-09 14:17 
QuestionPosting messages Pin
BidSki20-May-09 17:34
BidSki20-May-09 17:34 
AnswerRe: Posting messages Pin
Henry Minute21-May-09 0:13
Henry Minute21-May-09 0:13 
QuestionAccess To Path Denied Pin
BlitzPackage20-May-09 16:40
BlitzPackage20-May-09 16:40 
AnswerRe: Access To Path Denied Pin
Luc Pattyn20-May-09 17:16
sitebuilderLuc Pattyn20-May-09 17:16 
Hi,

for 1) I am not surprised; you probably needed admin privileges to get your app installed (so all users can use it), however a regular user cannot write to Program Files and its descendents.

Furthermore, one could make the whole app folder (or even Program Files) read-only for added protection, so the user trying to write files there is no good.

I suggest you use one of the preferred file locations using the Environment.GetFolderPath() method, probably with the SpecialFolder.ApplicationData or .CommonApplicationData parameter. You can creaye subfolders and files in there as much as you need to or want to.

Mind you, the actual path returned by GetFolderPath will depend on the specific Windows version, and some admin choices made while installing Windows; however the method takes care of all that.

for 2) I have no idea.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

GeneralRe: Access To Path Denied Pin
BlitzPackage21-May-09 16:26
BlitzPackage21-May-09 16:26 
GeneralRe: Access To Path Denied Pin
Luc Pattyn21-May-09 16:55
sitebuilderLuc Pattyn21-May-09 16:55 
QuestionAccess to the VGA/DVI port Pin
Bobby Hang20-May-09 14:59
Bobby Hang20-May-09 14:59 
AnswerRe: Access to the VGA/DVI port Pin
Luc Pattyn20-May-09 15:15
sitebuilderLuc Pattyn20-May-09 15:15 
GeneralRe: Access to the VGA/DVI port Pin
Bobby Hang20-May-09 15:25
Bobby Hang20-May-09 15:25 
GeneralRe: Access to the VGA/DVI port Pin
Bobby Hang29-May-09 11:26
Bobby Hang29-May-09 11:26 
GeneralRe: Access to the VGA/DVI port Pin
Luc Pattyn29-May-09 11:33
sitebuilderLuc Pattyn29-May-09 11:33 
GeneralRe: Access to the VGA/DVI port Pin
Bobby Hang2-Jun-09 3:44
Bobby Hang2-Jun-09 3:44 
GeneralRe: Access to the VGA/DVI port Pin
Luc Pattyn2-Jun-09 3:53
sitebuilderLuc Pattyn2-Jun-09 3:53 
GeneralRe: Access to the VGA/DVI port Pin
Bobby Hang3-Jun-09 2:19
Bobby Hang3-Jun-09 2:19 
QuestionNeed to time stamp the last time a file was considered good. [modified] Pin
Lecutus120-May-09 11:49
Lecutus120-May-09 11:49 
AnswerRe: Need to time stamp the last time a file was considered good. Pin
DaveyM6920-May-09 11:56
professionalDaveyM6920-May-09 11:56 
GeneralRe: Need to time stamp the last time a file was considered good. Pin
Lecutus121-May-09 4:17
Lecutus121-May-09 4:17 
Answerread my sig! Pin
Luc Pattyn20-May-09 12:35
sitebuilderLuc Pattyn20-May-09 12:35 
GeneralRe: read my sig! Pin
Lecutus121-May-09 4:16
Lecutus121-May-09 4:16 
GeneralRe: read my sig! Pin
Luc Pattyn21-May-09 4:26
sitebuilderLuc Pattyn21-May-09 4:26 
AnswerRe: Need to time stamp the last time a file was considered good. Pin
Luc Pattyn21-May-09 4:36
sitebuilderLuc Pattyn21-May-09 4:36 

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.