dear all,
i used to connect vb6 with sql server 2000, it worked great.now i just connected vb6 with sqlserver 2005, but it generates the error.
object variable or With block variable not set.
i use the connection string
conn.Open "Provider=SQLNC LI.1;Integrated Security=SSPI;P assword=pwd ;Persist Security Info=True;User ID=administrato r;Initial Catalog=dtbs;Da ta Source=192.168. 1.99
what might be the problem?? please can any one figure it out?
thanx in advance
i used to connect vb6 with sql server 2000, it worked great.now i just connected vb6 with sqlserver 2005, but it generates the error.
object variable or With block variable not set.
i use the connection string
conn.Open "Provider=SQLNC LI.1;Integrated Security=SSPI;P assword=pwd ;Persist Security Info=True;User ID=administrato r;Initial Catalog=dtbs;Da ta Source=192.168. 1.99
what might be the problem?? please can any one figure it out?
thanx in advance
Comment