I develop currently in VB..I am getting into vbscript with ASP. I am trying to connect to a simple access database using the following code.
Dim cnn, strCnn
strCnn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\DB.mdb"
Set cnn = Server.CreateObject("ADODB.Connection"
cnn.Open strCnn
I get the foloowing error..
apartment thread componets cannot be created.
Like i said, i know VB pretty good it's the vbscript thats seems to be a little confusing to me. can someone tell me what refrences i should be added and maybe some connection and recordset examples...I am using ASP.NET
thanks in advance..
Dim cnn, strCnn
strCnn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\DB.mdb"
Set cnn = Server.CreateObject("ADODB.Connection"
cnn.Open strCnn
I get the foloowing error..
apartment thread componets cannot be created.
Like i said, i know VB pretty good it's the vbscript thats seems to be a little confusing to me. can someone tell me what refrences i should be added and maybe some connection and recordset examples...I am using ASP.NET
thanks in advance..