Advertisement
| Hall of Fame |
|
[x]
Posted via EE Mobile
|
||
Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
||
| Question |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: |
<%
const SUCCESS = 0
const ERROR = 1
const WARNING = 2
const INFORMATION = 4
const AUDIT_SUCCESS = 8
const AUDIT_FAILURE = 16
dim wshshell, strSwitch, strCommand
strSwitch = request.form("switch").Item
if strSwitch = "startup" then
set wshshell = Server.CreateObject("WScript.Shell")
strCommand = "%comspec% /c c:\OpenTest.bat"
wshshell.run strCommand
wshshell.Logevent SUCCESS, "Exhibition startup button pressed."
set wshshell = nothing
set strSwitch = nothing
set strCommand = nothing
response.Write("<p><table><tr><td><img src='images/tick.gif'></td><td width='5'></td><td><strong>Option 1, Startup, was selected and the interactives have been signalled to turn on.</strong><br>Click <a href='#' onClick='history.go(-1)'>here</a> to go back to the homepage.</td></tr></table></p>")
elseif strSwitch = "shutdown" then
set wshshell = Server.CreateObject("WScript.Shell")
strCommand = "%comspec% /c c:\CloseTest2.bat"
wshshell.run (strCommand)
wshshell.Logevent SUCCESS, "Exhibition shutdown button pressed."
set wshshell = nothing
set strSwitch = nothing
set strCommand = nothing
response.Write("<p><table><tr><td><img src='images/tick.gif'></td><td width='5'></td><td><strong>Option 2, Shutdown, was selected and the interactives have been signalled to turn off.</strong><br>Click <a href='#' onClick='history.go(-1)'>here</a> to go back to the homepage.</td></tr></table></p>")
elseif strSwitch = "" or null then
response.Write("<p><table><tr><td><img src='images/cross.gif'></td><td width='5'></td><td><strong>A problem has occured. No sinals have been sent.</strong><br>Please click <a href='#' onClick='history.go(-1)'>here</a> to go back to the homepage and try again.</td></tr></table></p>")
end if
%>
|