Hello All,
Is there a way to use "WScript.Shell" from within asp to retrieve some registry information on the client side. I want to retrieve the default printer name from the client's registry using "WScript.Shell" One of my friend mentioned this to me but am not sure whether this can be run on client side. I would really appreciate your help.
Client Config:
Win2K or WinNT
ASP
Code:
set WshShell = CreateObject("WScript.Shell"
If Error.Number <> 0 then
MsgBox "Error Occured"
Else
.....
End If
When i run this from the browser. it gives me an error message. I haven't used windows scripting before, so i would apprecaite any help on this.
thanks
Is there a way to use "WScript.Shell" from within asp to retrieve some registry information on the client side. I want to retrieve the default printer name from the client's registry using "WScript.Shell" One of my friend mentioned this to me but am not sure whether this can be run on client side. I would really appreciate your help.
Client Config:
Win2K or WinNT
ASP
Code:
set WshShell = CreateObject("WScript.Shell"
If Error.Number <> 0 then
MsgBox "Error Occured"
Else
.....
End If
When i run this from the browser. it gives me an error message. I haven't used windows scripting before, so i would apprecaite any help on this.
thanks