Click here to Skip to main content
15,910,009 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to close MessageBox automatically Pin
Tom Deketelaere22-Dec-08 3:19
professionalTom Deketelaere22-Dec-08 3:19 
GeneralRe: how to close MessageBox automatically Pin
Sajjad Izadi22-Dec-08 3:31
Sajjad Izadi22-Dec-08 3:31 
GeneralRe: how to close MessageBox automatically Pin
N a v a n e e t h22-Dec-08 3:35
N a v a n e e t h22-Dec-08 3:35 
GeneralRe: how to close MessageBox automatically Pin
Tom Deketelaere22-Dec-08 3:41
professionalTom Deketelaere22-Dec-08 3:41 
AnswerRe: how to close MessageBox automatically Pin
Ravi Bhavnani22-Dec-08 3:40
professionalRavi Bhavnani22-Dec-08 3:40 
Questioncode sample in c# Pin
Manilipa22-Dec-08 2:48
Manilipa22-Dec-08 2:48 
AnswerRe: code sample in c# Pin
Tom Deketelaere22-Dec-08 2:53
professionalTom Deketelaere22-Dec-08 2:53 
AnswerRe: code sample in c# Pin
Pete O'Hanlon22-Dec-08 2:58
mvePete O'Hanlon22-Dec-08 2:58 
AnswerRe: code sample in c# Pin
Dragonfly_Lee22-Dec-08 22:26
Dragonfly_Lee22-Dec-08 22:26 
Questioncode sample in c#.net Pin
Manilipa22-Dec-08 2:45
Manilipa22-Dec-08 2:45 
AnswerRe: code sample in c#.net Pin
Not Active22-Dec-08 2:49
mentorNot Active22-Dec-08 2:49 
GeneralRe: code sample in c#.net Pin
Colin Angus Mackay22-Dec-08 2:50
Colin Angus Mackay22-Dec-08 2:50 
AnswerRe: code sample in c#.net Pin
Colin Angus Mackay22-Dec-08 2:49
Colin Angus Mackay22-Dec-08 2:49 
GeneralRe: code sample in c#.net Pin
#realJSOP22-Dec-08 3:23
professional#realJSOP22-Dec-08 3:23 
AnswerRe: code sample in c#.net Pin
Lev Danielyan22-Dec-08 3:32
Lev Danielyan22-Dec-08 3:32 
Questionimporting a defined value from c++ dll to c# Pin
shirli ben-shoham22-Dec-08 2:30
shirli ben-shoham22-Dec-08 2:30 
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 
Hi,

I am using below code to delete a file from my application which works fine for some folders. When I try to delete file from system folders such as \program files\.. or windows\... folder i get access denied. What are the changes required so that whenever user tries to delete file from system folder, vista will show security popup which asks administration password which it normally does for system folders.

Here is the code..
if (File.Exists(Path.Combine(tstxUrl.Text, lvItm.Text)))
{
File.Delete(Path.Combine(tstxUrl.Text, lvItm.Text));
}

Thanks Smile | :)

RN Softech is a goan software development company, based at Goa, India.

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 
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 

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.