Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: ado


Message #1 by "Morgan, Rob" <Rob.Morgan@o...> on Mon, 19 Mar 2001 11:15:02 -0500
How does a windows scripting host file open an ado connection?



Message #2 by <mzcfilip@y...> on Mon, 19 Mar 2001 11:26:48 -0500
Same as in an ASP script, just without the "server."



Here's a direct copy from my WSH/VBS script:

---------------------------------------------





' Open the database connection to "data.mdb"

Set conn=createobject("adodb.connection")

conn.Open "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=data.mdb;"





---------------------------------------------

Simple, no?



cheers

-mike





-----Original Message-----

From: Morgan, Rob [mailto:Rob.Morgan@o...]

Sent: Monday, March 19, 2001 11:15 AM

To: ASP Web HowTo

Subject: [asp_web_howto] ado





How does a windows scripting host file open an ado connection?



Message #3 by "TomMallard" <mallard@s...> on Mon, 19 Mar 2001 11:54:16 -0800
Similar to an asp page...



set oConn = createobject("ADODB.Connection")



tom mallard

seattle

----- Original Message -----

From: "Morgan, Rob" <Rob.Morgan@o...>

To: "ASP Web HowTo" <asp_web_howto@p...>

Sent: Monday, March 19, 2001 8:15 AM

Subject: [asp_web_howto] ado





> How does a windows scripting host file open an ado connection?

>

>

> ---

> SoftArtisans helps developers build robust, scalable Web applications!

> Excel Web reports, charts: http://www.softartisans.com/excelwriter.html

> File uploads: http://www.softartisans.com/saf.html

> Transactional file management: http://www.softartisans.com/saf1.html

> Scalability: http://www.softartisans.com/saxsession.html

> ASPstudio value pack: http://www.softartisans.com/aspstudiosuite.html




$subst('Email.Unsub')

>

>




  Return to Index