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

C#

 
AnswerRe: importing a defined value from c++ dll to c# Pin
Dave Kreskowiak22-Dec-08 4:28
mveDave Kreskowiak22-Dec-08 4:28 
QuestionGet File and directory names of folder on server in c# Pin
Rajesh Naik Ponda Goa22-Dec-08 1:54
Rajesh Naik Ponda Goa22-Dec-08 1:54 
AnswerRe: Get File and directory names of folder on server in c# Pin
vlinker22-Dec-08 2:23
vlinker22-Dec-08 2:23 
AnswerRe: Get File and directory names of folder on server in c# Pin
Brij22-Dec-08 2:39
mentorBrij22-Dec-08 2:39 
AnswerRe: Get File and directory names of folder on server in c# Pin
Not Active22-Dec-08 2:53
mentorNot Active22-Dec-08 2:53 
QuestionUnable to delete files using fileinfo object in VISTA - getting security problem Pin
Rajesh Naik Ponda Goa22-Dec-08 1:47
Rajesh Naik Ponda Goa22-Dec-08 1:47 
AnswerRe: Unable to delete files using fileinfo object in VISTA - getting security problem Pin
#realJSOP22-Dec-08 2:25
professional#realJSOP22-Dec-08 2:25 
AnswerRe: Unable to delete files using fileinfo object in VISTA - getting security problem Pin
Tom Deketelaere22-Dec-08 2:49
professionalTom Deketelaere22-Dec-08 2:49 
As John said you need to give your program administrator rights to do this.

This can be done in vs2008 by setting the UAC settings in your project settings (application tab, 'view uac settings' button).
This will however have the effect that every time the user starts the program vista will ask the user if he is sure that he wants to start the program since it requires administrator rights.

But why would you want to give the user the possibility to delete files in these folders? They are protected for a reason.
GeneralRe: Unable to delete files using fileinfo object in VISTA - getting security problem Pin
Rajesh Naik Ponda Goa22-Dec-08 17:19
Rajesh Naik Ponda Goa22-Dec-08 17:19 
Questionloop controls one by one Pin
DEEPNORTH22-Dec-08 1:18
DEEPNORTH22-Dec-08 1:18 
AnswerRe: loop controls one by one Pin
Ravi Bhavnani22-Dec-08 1:33
professionalRavi Bhavnani22-Dec-08 1:33 
GeneralRe: loop controls one by one Pin
DEEPNORTH22-Dec-08 15:20
DEEPNORTH22-Dec-08 15:20 
AnswerRe: loop controls one by one Pin
User 665822-Dec-08 1:40
User 665822-Dec-08 1:40 
AnswerRe: loop controls one by one Pin
nishu00727-Dec-08 2:49
professionalnishu00727-Dec-08 2:49 
Questionover a $1000 to be won in coding competition Pin
sanj_8038822-Dec-08 1:08
sanj_8038822-Dec-08 1:08 
AnswerRe: over a $1000 to be won in coding competition Pin
Brij22-Dec-08 1:52
mentorBrij22-Dec-08 1:52 
QuestionUpdate database from DataGridView? Pin
kbalias22-Dec-08 1:03
kbalias22-Dec-08 1:03 
AnswerRe: Update database from DataGridView? Pin
vlinker22-Dec-08 2:20
vlinker22-Dec-08 2:20 
AnswerRe: Update database from DataGridView? Pin
Vimalsoft(Pty) Ltd23-Dec-08 2:25
professionalVimalsoft(Pty) Ltd23-Dec-08 2:25 
Questionmerge two images in a single picturebox Pin
jaraldumary22-Dec-08 0:43
jaraldumary22-Dec-08 0:43 
RantRe: merge two images in a single picturebox Pin
Smithers-Jones22-Dec-08 2:38
Smithers-Jones22-Dec-08 2:38 
AnswerRe: merge two images in a single picturebox Pin
Dave Kreskowiak22-Dec-08 4:25
mveDave Kreskowiak22-Dec-08 4:25 
QuestionHow to set the Pagesettings in Reportviwer Pin
Exelioindia22-Dec-08 0:25
Exelioindia22-Dec-08 0:25 
Answersample code Pin
jaraldumary22-Dec-08 0:47
jaraldumary22-Dec-08 0:47 
AnswerRe: How to set the Pagesettings in Reportviwer Pin
Tom Deketelaere22-Dec-08 1:19
professionalTom Deketelaere22-Dec-08 1:19 

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.