Click here to Skip to main content
15,909,898 members
Home / Discussions / C#
   

C#

 
GeneralRe: Delimiters While Reading Text Files Pin
Anonymous2-Feb-05 4:21
Anonymous2-Feb-05 4:21 
GeneralRe: Delimiters While Reading Text Files Pin
Dave Kreskowiak2-Feb-05 4:35
mveDave Kreskowiak2-Feb-05 4:35 
GeneralRe: Delimiters While Reading Text Files Pin
Sean Michael Murphy2-Feb-05 6:48
Sean Michael Murphy2-Feb-05 6:48 
GeneralRe: Delimiters While Reading Text Files Pin
Anonymous2-Feb-05 10:11
Anonymous2-Feb-05 10:11 
QuestionHow do i use lock(List.SyncRoot) properly in a collection? Pin
FocusedWolf1-Feb-05 13:17
FocusedWolf1-Feb-05 13:17 
AnswerRe: How do i use lock(List.SyncRoot) properly in a collection? Pin
Robert Rohde1-Feb-05 20:38
Robert Rohde1-Feb-05 20:38 
GeneralRe: How do i use lock(List.SyncRoot) properly in a collection? Pin
Anonymous2-Feb-05 3:03
Anonymous2-Feb-05 3:03 
QuestionLogon/Logout Methods? Pin
spacebass50001-Feb-05 13:15
spacebass50001-Feb-05 13:15 
I have a program that is run via Task Scheduler as a given user. For sake of argument, we'll call this user "backup".

When my program runs via the Task Scheduler, I have it pop up an input box on a certain event (backup failure) and ask the user (apparently "backup", the user who the task is running as) if he/she would like to retry to the backup.

So lets say the user "bob" is logged on, hell, lets look at the case when bob is logged on as well as when nobody is logged on.

If my task runs and has a problem, the input box is lost due to "backup" not being logged in. Yet it still shows up in my process listing...

So I need a way to have my program (which is running with administrative privileges as they are needed for backup reasons) to log the current user off (or not if nobody is logged on) and log backup on prior to running its backup jobs.

Now I know that this sounds like a hokey thing to do with regards to security. I'm not fond of doing it this way but it is what has been asked of me. To be honest, I plan on implementing a toggle for this functionality.

Thanks...
AnswerRe: Logon/Logout Methods? Pin
Dave Kreskowiak2-Feb-05 1:55
mveDave Kreskowiak2-Feb-05 1:55 
GeneralRe: Logon/Logout Methods? Pin
spacebass50002-Feb-05 2:20
spacebass50002-Feb-05 2:20 
GeneralRe: Logon/Logout Methods? Pin
spacebass50002-Feb-05 3:41
spacebass50002-Feb-05 3:41 
GeneralRe: Logon/Logout Methods? Pin
Dave Kreskowiak2-Feb-05 4:34
mveDave Kreskowiak2-Feb-05 4:34 
GeneralRe: Logon/Logout Methods? Pin
spacebass50002-Feb-05 5:10
spacebass50002-Feb-05 5:10 
GeneralText Editing Pin
dcrewes1-Feb-05 12:02
dcrewes1-Feb-05 12:02 
GeneralRe: Text Editing Pin
Christian Graus1-Feb-05 17:04
protectorChristian Graus1-Feb-05 17:04 
GeneralRe: Text Editing Pin
Robert Rohde1-Feb-05 20:46
Robert Rohde1-Feb-05 20:46 
GeneralDisplay a presentation on TV Pin
SquallBlade1-Feb-05 11:38
SquallBlade1-Feb-05 11:38 
GeneralRe: Display a presentation on TV Pin
Christian Graus1-Feb-05 17:06
protectorChristian Graus1-Feb-05 17:06 
GeneralRe: Display a presentation on TV Pin
SquallBlade1-Feb-05 21:53
SquallBlade1-Feb-05 21:53 
GeneralRe: Display a presentation on TV Pin
Dave Kreskowiak2-Feb-05 1:51
mveDave Kreskowiak2-Feb-05 1:51 
GeneralRe: Display a presentation on TV Pin
SquallBlade2-Feb-05 3:52
SquallBlade2-Feb-05 3:52 
GeneralRe: Display a presentation on TV Pin
Heath Stewart2-Feb-05 6:34
protectorHeath Stewart2-Feb-05 6:34 
GeneralRe: Display a presentation on TV Pin
Christian Graus2-Feb-05 9:03
protectorChristian Graus2-Feb-05 9:03 
Generalsynthesize mouse click Pin
Some Idiot1-Feb-05 11:05
Some Idiot1-Feb-05 11:05 
GeneralRe: synthesize mouse click Pin
Christian Graus1-Feb-05 11:21
protectorChristian Graus1-Feb-05 11: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.