Jump to content

newbie l00kinG for help


Guest monkeynoob

Recommended Posts

Guest monkeynoob

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...