Click here to Skip to main content
15,916,835 members
Home / Discussions / C#
   

C#

 
GeneralRe: Problem loading with dll Pin
asugix30-Oct-08 1:35
asugix30-Oct-08 1:35 
QuestionHow to pass a value in SelectNodes(string.Format)? Pin
anette_ashley29-Oct-08 18:34
anette_ashley29-Oct-08 18:34 
AnswerRe: How to pass a value in SelectNodes(string.Format)? Pin
N a v a n e e t h29-Oct-08 18:37
N a v a n e e t h29-Oct-08 18:37 
GeneralRe: How to pass a value in SelectNodes(string.Format)? Pin
anette_ashley29-Oct-08 18:46
anette_ashley29-Oct-08 18:46 
QuestionHow can I get list of all machine on LAN Pin
FishiFishi29-Oct-08 18:14
FishiFishi29-Oct-08 18:14 
AnswerRe: How can I get list of all machine on LAN Pin
N a v a n e e t h29-Oct-08 18:18
N a v a n e e t h29-Oct-08 18:18 
Questionbase method Pin
George_George29-Oct-08 15:42
George_George29-Oct-08 15:42 
AnswerRe: base method Pin
N a v a n e e t h29-Oct-08 18:24
N a v a n e e t h29-Oct-08 18:24 
GeneralRe: base method Pin
George_George29-Oct-08 18:44
George_George29-Oct-08 18:44 
GeneralRe: base method Pin
User 665829-Oct-08 20:30
User 665829-Oct-08 20:30 
GeneralRe: base method Pin
George_George30-Oct-08 2:55
George_George30-Oct-08 2:55 
GeneralRe: base method Pin
User 665830-Oct-08 6:20
User 665830-Oct-08 6:20 
GeneralRe: base method Pin
George_George31-Oct-08 0:04
George_George31-Oct-08 0:04 
GeneralRe: base method Pin
N a v a n e e t h2-Nov-08 6:10
N a v a n e e t h2-Nov-08 6:10 
QuestionSecurity consideration of Windows Service written in .NET Pin
Zerox MXI29-Oct-08 15:13
Zerox MXI29-Oct-08 15:13 
AnswerRe: Security consideration of Windows Service written in .NET Pin
#realJSOP29-Oct-08 23:39
professional#realJSOP29-Oct-08 23:39 
If the user has admin rights, they can modify the status of any running service.


Zerox MXI wrote:
can I write a prompt dialog to have the user input some sort of password before it shuts down?


Services don't have a user interface. You'd probably have to write a system tray application that provides the interface, and the user then has to use that application to stop the service. In order to force this, you'd have to write your service so that it can only be stopped via the system tray application.

All this is totally outside the realm of "standard practice", so consider carefully before you do this.


"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


QuestionMove the unmovable Pin
ltheonel29-Oct-08 13:53
ltheonel29-Oct-08 13:53 
AnswerRe: Move the unmovable Pin
N a v a n e e t h29-Oct-08 18:29
N a v a n e e t h29-Oct-08 18:29 
GeneralRe: Move the unmovable Pin
ltheonel29-Oct-08 23:09
ltheonel29-Oct-08 23:09 
GeneralRe: Move the unmovable Pin
jas0n231-Nov-08 12:15
jas0n231-Nov-08 12:15 
GeneralRe: Move the unmovable Pin
ltheonel6-Nov-08 12:45
ltheonel6-Nov-08 12:45 
GeneralRe: Move the unmovable Pin
jas0n236-Nov-08 16:17
jas0n236-Nov-08 16:17 
GeneralRe: Move the unmovable Pin
ltheonel9-Nov-08 8:33
ltheonel9-Nov-08 8:33 
QuestionMapping XML to "anonymous" class Pin
ezazazel29-Oct-08 12:16
ezazazel29-Oct-08 12:16 
AnswerRe: Mapping XML to "anonymous" class Pin
N a v a n e e t h29-Oct-08 18:32
N a v a n e e t h29-Oct-08 18:32 

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.