Click here to Skip to main content
15,922,407 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Do an MyProgrammInstall.exe Pin
Wes Aday2-Nov-07 4:04
professionalWes Aday2-Nov-07 4:04 
AnswerRe: Do an MyProgrammInstall.exe Pin
Peter Weyzen2-Nov-07 7:46
Peter Weyzen2-Nov-07 7:46 
Question[CLARIFIED]Is it possible to lock a file from deletion? Pin
chandu0042-Nov-07 3:17
chandu0042-Nov-07 3:17 
AnswerRe: is it possible to lock a file from deletion? Pin
Matthew Faithfull2-Nov-07 3:59
Matthew Faithfull2-Nov-07 3:59 
GeneralRe: is it possible to lock a file from deletion? Pin
chandu0042-Nov-07 4:09
chandu0042-Nov-07 4:09 
GeneralRe: is it possible to lock a file from deletion? Pin
Matthew Faithfull2-Nov-07 4:42
Matthew Faithfull2-Nov-07 4:42 
GeneralRe: is it possible to lock a file from deletion? Pin
chandu0042-Nov-07 4:56
chandu0042-Nov-07 4:56 
GeneralRe: is it possible to lock a file from deletion? Pin
Matthew Faithfull2-Nov-07 5:06
Matthew Faithfull2-Nov-07 5:06 
Yes under modern Windows systems Delete/Create/Read/Write etc permissions are separate, you can allow or any combination to any user or group of users. You might need to specify which user your program runs as depending on the way the site is configured. A program can be launched with the permission sof a specific user and impersonates that user when it comes to getting file access. Your sysadmin could for example create a SpecialDatabaseUser user who has exclusive rights to the database itself and your program could be made to act as that user. There are lots of options and different sites may require different things but I think this approach is the most likely to succeed for deleteion prevention, 'sharing' is of course another issue altogether.Smile | :)

Nothing is exactly what it seems but everything with seems can be unpicked.

GeneralRe: is it possible to lock a file from deletion? Pin
chandu0042-Nov-07 19:01
chandu0042-Nov-07 19:01 
GeneralRe: is it possible to lock a file from deletion? Pin
jhwurmbach2-Nov-07 7:37
jhwurmbach2-Nov-07 7:37 
GeneralRe: is it possible to lock a file from deletion? Pin
chandu0042-Nov-07 4:16
chandu0042-Nov-07 4:16 
Questionwhy get active frame? Pin
panthal2-Nov-07 2:18
panthal2-Nov-07 2:18 
AnswerRe: why get active frame? Pin
toxcct2-Nov-07 2:24
toxcct2-Nov-07 2:24 
GeneralRe: why get active frame? Pin
panthal2-Nov-07 2:32
panthal2-Nov-07 2:32 
GeneralRe: why get active frame? Pin
toxcct2-Nov-07 2:35
toxcct2-Nov-07 2:35 
QuestionMy complex polymorphic inheritance problem.. Its like a puzzle !!! can u solve ?? Pin
quakeboy2-Nov-07 1:42
quakeboy2-Nov-07 1:42 
GeneralRe: My complex polymorphic inheritance problem.. Its like a puzzle !!! can u solve ?? Pin
Matthew Faithfull2-Nov-07 1:58
Matthew Faithfull2-Nov-07 1:58 
GeneralRe: My complex polymorphic inheritance problem.. Its like a puzzle !!! can u solve ?? Pin
quakeboy2-Nov-07 2:13
quakeboy2-Nov-07 2:13 
GeneralRe: My complex polymorphic inheritance problem.. Its like a puzzle !!! can u solve ?? Pin
Matthew Faithfull2-Nov-07 3:00
Matthew Faithfull2-Nov-07 3:00 
AnswerRe: My complex polymorphic inheritance problem.. Its like a puzzle !!! can u solve ?? Pin
quakeboy2-Nov-07 2:03
quakeboy2-Nov-07 2:03 
GeneralRe: My complex polymorphic inheritance problem.. Its like a puzzle !!! can u solve ?? Pin
TClarke2-Nov-07 3:56
TClarke2-Nov-07 3:56 
AnswerRe: My complex polymorphic inheritance problem.. Its like a puzzle !!! can u solve ?? Pin
led mike2-Nov-07 4:42
led mike2-Nov-07 4:42 
QuestionNot getting process details (process name, process path) for some processes Pin
Subhash Karemore2-Nov-07 1:34
Subhash Karemore2-Nov-07 1:34 
QuestionRe: Not getting process details (process name, process path) for some processes Pin
David Crow2-Nov-07 2:52
David Crow2-Nov-07 2:52 
Questionmodeless dialog box Pin
AnayKulkarni2-Nov-07 0:21
AnayKulkarni2-Nov-07 0:21 

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.