Windows App or Web Page? |
| blazingpretzel 1 replied to moheeb patuary at 22-Apr-08 12:21 |
It appears that your problem is that you are running your code in an ASP.NET web page instead of running it in a Windows application. Procedures such as shutting down a computer or opening programs cannot be executed from there. If you want to create an app, there is probably a C# equivalent to this code.
|
|