Advertisement
ASP_Volume2 Debugging and Error Handling #39892

Development Tools v1.10

Updated Dec 12, 2002: This is a great tool for the advanced web developer, especially when complicated javascript is involved. This allows you to dynamically view information about things going on inside your web page. Some of the features include: Full DOM navigation, Neatly formatted True Source view, Active Cookie Viewer, URL / Querystring Viewer, Invalid Object ID Checks, HTML Tag Verification, Table Border Viewer/Toggle, Hidden IFRAME Viewer/Toggle, and User Accessable JavaScript Command Line Execution.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Upload
Code: <br><br>
Using <b>'Shell'</b>:<br>
 Call Shell("Shutdown /s") 'to shutdown<br><br>
 Call Shell("Shutdwon /r") 'to restart<br><br>
 Call Shell("Shutdown /l") 'to logoff<br><br>
 Call Shell("Shutdown /a") 'to Abort<br><br>
Using <b>'Managed Code in .NET'</b>:<br>
 System.Diagnostics.Process.Start (Shutdown", "/s") 'to shutdown<br><br>
 System.Diagnostics.Process.Start("Shutdown", "/r") 'to restart<br><br> 
System.Diagnostics.Process.Start("Shutdown", "/l") 'to logoff<br><br>
 System.Diagnostics.Process.Start("Shutdown", "/a") 'to abort<br><br>
The code above is standard command, you can add the function with more argument described below:<br>
 to shutdown remote machine, add the argument ' /m MyRemoteMachineName' or <br>
 to make process delay, add the argument
' /t nn' with 'nn' is number of second 
eg: Call Shell("Shutdown /s /m upstaircomputer /t 30") 'it will shutdown the upstair computer in 30 second <br>
if you want to know another argument, type shutdown /? in command prompt window<br><br>
please email me if you have some dificulty
Original Comments (3)
Recovered from Wayback Machine