Connecting Tech Pros Worldwide Forums | Help | Site Map

Import dbf file to Access using vb.net

Newbie
 
Join Date: Apr 2009
Posts: 1
#1: Apr 18 '09
Hi there,

I am relatively new in access and vb.net. I manage to create a MDB
file from VB.net with the help of ADOX and ADODB. Now i am trying to
import tons of dbf IV file to newly created MDB file.

Dim cat As New Catalog()
cat.Create("Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=" &
dbPath)

The following code works for VBA but i could not manage it in VB.net.
Any help you be a great help. Thanks

DoCmd.TransferDatabase acImport, "dBase IV", filePath, acTable,
fileName, fileName

musa.biralo

Reply

Tags
dbf, import, import dbf vb.net