HOW TO COPY DBF Files in VB.NET
-
Hello Everyone, I have one old foxpro application which is using dbf files as database. But now i want to develop a new VB.net application for the same dbf database files. when i try to read dbf files from VB.Net application at the same time foxpro application and dbf files get crashed. So anyone can help me to solve the problem? Thank you
-
Hello Everyone, I have one old foxpro application which is using dbf files as database. But now i want to develop a new VB.net application for the same dbf database files. when i try to read dbf files from VB.Net application at the same time foxpro application and dbf files get crashed. So anyone can help me to solve the problem? Thank you
-
Hello Everyone, I have one old foxpro application which is using dbf files as database. But now i want to develop a new VB.net application for the same dbf database files. when i try to read dbf files from VB.Net application at the same time foxpro application and dbf files get crashed. So anyone can help me to solve the problem? Thank you
-
Try Google your question Google > VB NET read FoxPro DBF Did you tried to use ODBC driver ?
Patrice “Everything should be made as simple as possible, but no simpler.” Albert Einstein
I am using Following code to copy the DBF file from Original location to mylocation Dim di As New IO.DirectoryInfo(SourceFolderPath) Dim tempname As String Dim diar1 As IO.FileInfo() = di.GetFiles("*.DBF") Dim dra As IO.FileInfo 'list the names of all files in the specified directory For Each dra In diar1 tempname = dra.ToString Do Until FileInUse(dra.FullName) = False ''Do nothing Until File Is busy Loop ''once file become free then copy the file dra.CopyTo(destpath) Next