turrican
Active member
can someone tell me where I am going wrong here? This is driving me nuts.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim MyConnection As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source= d:\DvdList.mdb;User Id=admin;")
MyConnection.Open()
it stops at the lasr line when I try to run it. I can connect to this database with the wizard but I want to learn how to do it like this. Please help.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim MyConnection As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source= d:\DvdList.mdb;User Id=admin;")
MyConnection.Open()
it stops at the lasr line when I try to run it. I can connect to this database with the wizard but I want to learn how to do it like this. Please help.


