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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...