Guest monkeynoob Posted February 18, 2006 Share Posted February 18, 2006 i've got a lil experience with vb6.0and my compy is running on windows xp home edition I tried to open a .mdb file with vbscript like this :----------------------------------------------------------<html><body><script type="text/vbscript">Dim rstest As New ADODB.RecordsetDim Connstr As StringConnstr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Dbtest.mdb;Persist Security Info=False"rstest.Open "Select * from tbltest", Connstr, adOpenKeyset, adLockOptimisticrstest.MoveFirstmsgbox rstest.Fields!Name document.write(rstest.Fields!Name)rstest.close</script></body></html>----------------------------------------------------------this gives me 0 results on my browser is it possible to open a recordset with vbscript or something else to build a Database Driven Website without using vbscript or asp ?? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now