[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Vbscript question :  how to create a sqloledb connection on a client pc ?

Posted on 2006-10-23
3
Medium Priority
?
569 Views
Last Modified: 2006-11-18
Is there a function for this purpose.
0
Comment
Question by:itbabe
2 Comments
 
LVL 4

Accepted Solution

by:
ostdp earned 2000 total points
ID: 17788043
Have a look at this reference from Microsoft for using ADO with vbscript.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/mdmscadoinvbscript.asp

for some example of the above technology usage see

http://www.activexperts.com/activmonitor/windowsmanagement/adminscripts/enterprise/databases/

Hope this helps.
0
 
LVL 10

Expert Comment

by:Si_Hibbard
ID: 17788286
Also see this tutorial on connection strings -> http://www.tnsites.com/support/s_databaseconn.asp

Example taken from above link VBscript in an ASP page:

<%
Set Cnn = Server.CreateObject("ADODB.Connection")
Cnn.open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=D:\html\users\yourdomaincom\database\mydatabase.mdb"
%>
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Screencast - Getting to Know the Pipeline

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question