Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WScript within ASP

Status
Not open for further replies.

amutinu

Programmer
Oct 19, 2001
50
0
0
US
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 &quot;Error Occured&quot;
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
 
This scripting is run client-side (activeX) best to ask in the activeX forum : forum194 Regards

Big Bad Dave

davidbyng@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top