Hi all,
I am having trouble openning my oleDB connection, I was hoping someone here could see what I am missing
here is my code:
Dim MyConn As System.Data.OleDb.OleDbConnection
Dim Mycommand As System.Data.OleDb.OleDbCommand
Dim strConn, strCommand As String
txtActivity.Text &= "file " & e.FullPath & " has been created" & vbCrLf
lblDisplay.Visible = True
strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"DataSource=C:\PathName\;Extended" & _
"Properties='text;FMT=Delimited;HDR=Yes'"
MyConn = New System.Data.OleDb.OleDbConnection(strConn)
MyConn.Open()
the txt I am trying to open is a | delimited file and I have a schema.ini set up for it held within the same folder.
thanks in advance
Ronze
I am having trouble openning my oleDB connection, I was hoping someone here could see what I am missing
here is my code:
Dim MyConn As System.Data.OleDb.OleDbConnection
Dim Mycommand As System.Data.OleDb.OleDbCommand
Dim strConn, strCommand As String
txtActivity.Text &= "file " & e.FullPath & " has been created" & vbCrLf
lblDisplay.Visible = True
strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"DataSource=C:\PathName\;Extended" & _
"Properties='text;FMT=Delimited;HDR=Yes'"
MyConn = New System.Data.OleDb.OleDbConnection(strConn)
MyConn.Open()
the txt I am trying to open is a | delimited file and I have a schema.ini set up for it held within the same folder.
thanks in advance
Ronze