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

C#

 
GeneralRe: Hashtable Pin
Eytukan17-Mar-06 0:01
Eytukan17-Mar-06 0:01 
QuestionI get an error when my textbox has texts with html tags Pin
CandyMe16-Mar-06 22:29
CandyMe16-Mar-06 22:29 
AnswerRe: I get an error when my textbox has texts with html tags Pin
jimjo17-Mar-06 1:21
jimjo17-Mar-06 1:21 
QuestionI get error when I have html tags in textbox Pin
CandyMe16-Mar-06 22:28
CandyMe16-Mar-06 22:28 
QuestionHow to get "Precision" and "Scale" of a Decimal bound column in code ? Pin
Bobby88716-Mar-06 22:25
Bobby88716-Mar-06 22:25 
AnswerRe: How to get "Precision" and "Scale" of a Decimal bound column in code ? Pin
darkelv17-Mar-06 2:43
darkelv17-Mar-06 2:43 
QuestionCOM Interop and Indigo on Windows Server 2003 Pin
Optimus Chaos16-Mar-06 21:03
Optimus Chaos16-Mar-06 21:03 
QuestionRemote Shutdown and Processes Pin
fjlv200516-Mar-06 20:14
fjlv200516-Mar-06 20:14 
Good day to all,

Currently im developing an administrative tool that allows me to monitor all workstation under my domain. I want to do remote shutdown/restart/log-off using C#. At first I was thinking of executing the ff:
shutdown -r -f -m \\pcname -t 0 for restart..
shutdown -s -f -m \\pcname -t 0 for shutdown..
I planned to execute it under C# Process & ProcessStartInfo however i feel i doesnt much have control because whenever i shutdown/restart an offline pc, if it is on command line, then it will just hang-up or just a cursor blinking and will not exit the command (maybe it would take too long..). I hope somebody could help me find a way to execute shutdown/restart/log-off remotely which we have better control and more reliable way. Also also want to get remotely,the processes that runs under the client machine/workstation, i hope this is feasible in C#.

Im using .NET 2003 environment,

thanks a lot,

-- modified at 2:39 Friday 17th March, 2006
AnswerRe: Remote Shutdown and Processes Pin
Jijo BP16-Mar-06 23:00
Jijo BP16-Mar-06 23:00 
GeneralRe: Remote Shutdown and Processes Pin
fjlv200516-Mar-06 23:26
fjlv200516-Mar-06 23:26 
Questionhow to embed a external application into a winform? Pin
iiiwabibitoiii16-Mar-06 20:06
iiiwabibitoiii16-Mar-06 20:06 
Questionadd code to installer package Pin
sohne16-Mar-06 19:10
sohne16-Mar-06 19:10 
QuestionLocalization issue with UserControls Pin
Pixinger7716-Mar-06 18:21
Pixinger7716-Mar-06 18:21 
Questionusing reference in runtime Pin
vatzcar16-Mar-06 18:14
vatzcar16-Mar-06 18:14 
AnswerRe: using reference in runtime Pin
Vikram A Punathambekar16-Mar-06 19:33
Vikram A Punathambekar16-Mar-06 19:33 
GeneralRe: using reference in runtime Pin
vatzcar16-Mar-06 20:23
vatzcar16-Mar-06 20:23 
Questionregarfin session state Pin
samasavinirs16-Mar-06 18:08
samasavinirs16-Mar-06 18:08 
Questionload image in asp.net page --using c# Pin
deepak116-Mar-06 17:48
deepak116-Mar-06 17:48 
QuestionExpand/Collapse a category in property grid Pin
Tulika Shrivastava16-Mar-06 17:34
Tulika Shrivastava16-Mar-06 17:34 
QuestionPropertyGrid Control Pin
deepscyberpulse16-Mar-06 16:30
deepscyberpulse16-Mar-06 16:30 
QuestionNo. of pages spooled to printer in C# Pin
Bijon Roy16-Mar-06 14:45
Bijon Roy16-Mar-06 14:45 
QuestionUsing Named Pipes with C#?? Pin
Phil C16-Mar-06 13:55
Phil C16-Mar-06 13:55 
AnswerRe: Using Named Pipes with C#?? Pin
mcljava17-Mar-06 4:46
mcljava17-Mar-06 4:46 
GeneralRe: Using Named Pipes with C#?? Pin
Phil C18-Mar-06 20:41
Phil C18-Mar-06 20:41 
GeneralRe: Using Named Pipes with C#?? Pin
mcljava19-Mar-06 17:29
mcljava19-Mar-06 17:29 

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.