Codebank - VBScript - DSN-Less Connection
The following code allows you to connection to your database via DSN-Less connection which is faster
and doesn't require OBCD connectivity. Simply change the line of code below to point to where your
database is, you can then reference it in the usual manner.
strCon = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\inetpub\users\username\databasefolder\databasefilename.mdb"
back
|
|
|
|