Hello,
I'm trying to get a vbscript to write to a SQL database and wanted to know the best (maybe easiest) way to do it. I just want a user to click on a button on a web page to "send data" of their computer they are logged on at the moment. The script works fine for outputting using wscript.echo but I need to know how to output this to a SQL server database. The output lines I want to send and that work now are:
WScript.Echo "Username:", wshSysEnv("USERNAME")
WScript.Echo "CompName:", strCompName
WScript.Echo "OS:" ,strOpeSys
WScript.Echo "BIOS SN:", strBiosSN
WScript.Echo "Manufacturer:", strBrand
WScript.Echo "Model:", strModel
WScript.Echo "Processor:", strProcName
WScript.Echo "ProcSpeed:", strProcSpeed
thanks
Start Free Trial