Click here to Skip to main content
15,888,239 members
Home / Discussions / C#
   

C#

 
AnswerRe: Programming Pin
harold aptroot9-Apr-09 8:55
harold aptroot9-Apr-09 8:55 
AnswerRe: Programming Pin
Jerome Crooks9-Apr-09 9:04
Jerome Crooks9-Apr-09 9:04 
GeneralRe: Programming Pin
Christian Graus9-Apr-09 9:24
protectorChristian Graus9-Apr-09 9:24 
GeneralRe: Programming Pin
Dan Neely9-Apr-09 9:43
Dan Neely9-Apr-09 9:43 
AnswerRe: Programming Pin
Luc 6480119-Apr-09 10:06
Luc 6480119-Apr-09 10:06 
AnswerRe: Programming Pin
Eddy Vluggen9-Apr-09 10:36
professionalEddy Vluggen9-Apr-09 10:36 
AnswerRe: Programming Pin
0x3c09-Apr-09 10:46
0x3c09-Apr-09 10:46 
AnswerRe: Programming Pin
DaveyM699-Apr-09 11:14
professionalDaveyM699-Apr-09 11:14 
I'm sure there's an API call to shut down the computer gracefully as if you clicked shut down yourself.

You could call that from C# code using PInvoke.

Interfacing a uC to a computer is reasonably easy via serial or parallel ports, marginally more difficult via USB - I've never tried a wireless port.

There's no reason why a uC can't talk to your C# app via one of these ports which in turn shuts the PC down.

Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
Why are you using VB6? Do you hate yourself? (Christian Graus)

AnswerRe: Programming Pin
jaypatel5129-Apr-09 20:15
jaypatel5129-Apr-09 20:15 
AnswerRe: Programming Pin
jaypatel5129-Apr-09 20:38
jaypatel5129-Apr-09 20:38 
AnswerRe: Programming Pin
Skymir10-Apr-09 7:22
Skymir10-Apr-09 7:22 
QuestionSend value from a form to another ! Pin
mrkeivan9-Apr-09 8:22
mrkeivan9-Apr-09 8:22 
AnswerRe: Send value from a form to another ! Pin
DaveyM699-Apr-09 8:39
professionalDaveyM699-Apr-09 8:39 
AnswerRe: Send value from a form to another ! Pin
jaypatel5129-Apr-09 20:39
jaypatel5129-Apr-09 20:39 
GeneralRe: Send value from a form to another ! Pin
mrkeivan10-Apr-09 8:59
mrkeivan10-Apr-09 8:59 
GeneralRe: Send value from a form to another ! Pin
DaveyM6912-Apr-09 21:51
professionalDaveyM6912-Apr-09 21:51 
QuestionCreate an EXE that runs without .NET Framework Pin
Mogaambo9-Apr-09 7:13
Mogaambo9-Apr-09 7:13 
AnswerRe: Create an EXE that runs without .NET Framework Pin
harold aptroot9-Apr-09 7:21
harold aptroot9-Apr-09 7:21 
AnswerRe: Create an EXE that runs without .NET Framework Pin
Dave Kreskowiak9-Apr-09 7:29
mveDave Kreskowiak9-Apr-09 7:29 
AnswerRe: Create an EXE that runs without .NET Framework Pin
EliottA9-Apr-09 7:38
EliottA9-Apr-09 7:38 
AnswerRe: Create an EXE that runs without .NET Framework Pin
Dan Neely9-Apr-09 7:43
Dan Neely9-Apr-09 7:43 
AnswerRe: Create an EXE that runs without .NET Framework Pin
Christian Graus9-Apr-09 9:26
protectorChristian Graus9-Apr-09 9:26 
GeneralRe: Create an EXE that runs without .NET Framework Pin
Dan Neely9-Apr-09 10:51
Dan Neely9-Apr-09 10:51 
GeneralRe: Create an EXE that runs without .NET Framework Pin
Mogaambo10-Apr-09 4:34
Mogaambo10-Apr-09 4:34 
GeneralRe: Create an EXE that runs without .NET Framework Pin
Henry Minute10-Apr-09 7:49
Henry Minute10-Apr-09 7:49 

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.