Advertisement

01.02.2008 at 01:18PM PST, ID: 23054214
[x]
Attachment Details

Writing to a SQL Database from a web page using VBSCRIPT

Asked by fwchelp in VB Script, Databases Miscellaneous, MS SQL Server

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
[+][-]01.02.2008 at 03:46PM PST, ID: 20569285

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: VB Script, Databases Miscellaneous, MS SQL Server
Sign Up Now!
Solution Provided By: BillBach
Participating Experts: 2
Solution Grade: B
 
 
[+][-]01.03.2008 at 12:52AM PST, ID: 20571426

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.08.2008 at 05:02AM PST, ID: 20608091

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.08.2008 at 05:16AM PST, ID: 20608199

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.31.2008 at 09:40AM PST, ID: 20788934

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.31.2008 at 10:04AM PST, ID: 20789205

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.31.2008 at 11:16AM PST, ID: 20789960

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.31.2008 at 11:18AM PST, ID: 20789976

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.27.2008 at 01:23AM PDT, ID: 21650214

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628