Connecting Tech Pros Worldwide Help | Site Map

Import dbf file to Access using vb.net

  #1  
Old April 18th, 2009, 06:45 AM
Newbie
 
Join Date: Apr 2009
Posts: 1
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Altering a DBF File JimmyKoolPantz answers 9 November 5th, 2006 06:15 PM
Visual Basic.Net & DBF files JimmyKoolPantz answers 6 September 5th, 2006 07:45 PM
using VB to rename a field... Wendell Cochran answers 2 November 12th, 2005 04:46 PM