Click here to Skip to main content
15,919,749 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to read data from COM port (want to get remote to work) Pin
daniilzol30-Dec-06 14:54
daniilzol30-Dec-06 14:54 
GeneralRe: How to read data from COM port (want to get remote to work) [modified] Pin
Luc Pattyn30-Dec-06 16:11
sitebuilderLuc Pattyn30-Dec-06 16:11 
GeneralRe: How to read data from COM port (want to get remote to work) Pin
daniilzol31-Dec-06 8:13
daniilzol31-Dec-06 8:13 
QuestionSocket IO interaction with UI Message pump Question? Pin
Member 288953130-Dec-06 10:43
Member 288953130-Dec-06 10:43 
AnswerRe: Socket IO interaction with UI Message pump Question? Pin
Phillip M. Hoff30-Dec-06 17:00
Phillip M. Hoff30-Dec-06 17:00 
Questionproblem for set RememberMe CheckBox in ASP.net Login Control. Pin
hdv21230-Dec-06 10:04
hdv21230-Dec-06 10:04 
AnswerRe: problem for set RememberMe CheckBox in ASP.net Login Control. Pin
Brad Bruce30-Dec-06 10:59
Brad Bruce30-Dec-06 10:59 
QuestionGUI for remote reboots using Shutdown command Pin
namedalias530-Dec-06 8:09
namedalias530-Dec-06 8:09 
Hi,

I am learning a little C#, and I would love to be able to create a little graphical form with a few buttons on it that will allow me to execute the XP / 2003 SHUTDOWN command.

Ideally I'll have just a handful of buttons, each named after a server, and hitting that button will execute the proper shutdown /r /m \\machinename command, assuming of course that the user has the appropriate permission to reboot \\machinename.

Can this be done? I would like any console access to be hidden, so no DOS box pops up, but that isn't really so important, I can figure out how to do that later.

For now I'm stumped about how to pass a DOS command from a C# GUI.

Would anybody be kind enough to toss me a bone?

Thanks!



AnswerRe: GUI for remote reboots using Shutdown command Pin
Luc Pattyn30-Dec-06 8:54
sitebuilderLuc Pattyn30-Dec-06 8:54 
GeneralRe: GUI for remote reboots using Shutdown command Pin
namedalias530-Dec-06 9:02
namedalias530-Dec-06 9:02 
GeneralRe: GUI for remote reboots using Shutdown command Pin
Luc Pattyn30-Dec-06 9:25
sitebuilderLuc Pattyn30-Dec-06 9:25 
GeneralRe: GUI for remote reboots using Shutdown command Pin
namedalias530-Dec-06 9:29
namedalias530-Dec-06 9:29 
QuestionFolder Protection.. Pin
kkadir30-Dec-06 8:01
kkadir30-Dec-06 8:01 
AnswerRe: Folder Protection.. Pin
Luc Pattyn30-Dec-06 8:56
sitebuilderLuc Pattyn30-Dec-06 8:56 
AnswerRe: Folder Protection.. Pin
Ami Bar30-Dec-06 10:28
Ami Bar30-Dec-06 10:28 
GeneralRe: Folder Protection.. Pin
kkadir30-Dec-06 11:39
kkadir30-Dec-06 11:39 
GeneralRe: Folder Protection.. Pin
Dave Kreskowiak30-Dec-06 17:08
mveDave Kreskowiak30-Dec-06 17:08 
AnswerKind of Pin
Ennis Ray Lynch, Jr.30-Dec-06 17:38
Ennis Ray Lynch, Jr.30-Dec-06 17:38 
QuestionOpen "Windows Image Fax Viewer" Pin
greekius30-Dec-06 7:33
greekius30-Dec-06 7:33 
AnswerRe: Open "Windows Image Fax Viewer" Pin
Luc Pattyn30-Dec-06 9:21
sitebuilderLuc Pattyn30-Dec-06 9:21 
AnswerRe: Open "Windows Image Fax Viewer" Pin
Luc Pattyn30-Dec-06 9:33
sitebuilderLuc Pattyn30-Dec-06 9:33 
AnswerRe: Open "Windows Image Fax Viewer" Pin
Luc Pattyn30-Dec-06 9:35
sitebuilderLuc Pattyn30-Dec-06 9:35 
QuestionDisplay a Line Graph using Tabbed Panes(Newbie) Pin
NGSjamesc30-Dec-06 5:19
NGSjamesc30-Dec-06 5:19 
AnswerRe: Display a Line Graph using Tabbed Panes(Newbie) Pin
Luc Pattyn30-Dec-06 5:24
sitebuilderLuc Pattyn30-Dec-06 5:24 
QuestionHow to distribute class libraries Pin
axos8830-Dec-06 1:00
axos8830-Dec-06 1:00 

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.