Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
| Search | Today's Posts | Mark Forums Read
Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 3rd, 2006, 08:11 AM
Authorized User
 
Join Date: Jul 2006
Location: Mumbai, Maharastra, India.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to kau_shuk
Default Which data provider fro dbf file format in vb

i want to upload dbf file to windows form of visual basic .net application...

Please help out..

Thanks in Advance

 
Old November 29th, 2006, 08:40 PM
Authorized User
 
Join Date: Nov 2006
Location: , , USA.
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to ef1196
Default

Here is an example of an OleDB connection to a .DBF file
(In this case it is FoxPro):

Imports System.Data.OleDb
Module mdlPublic

    Public cn

    '* Opens a connection to the FoxPro table
    Public Sub subOpen_FD_Database()

        With cn
            If .State = ConnectionState.Open Then .Close()
            .ConnectionString = "Provider=VFPOLEDB.1;Data Source=D:\FOXDENT\DATA;Collating Sequence=MACHINE"
            .Open()
        End With

        '* The above example will open all of the .dbf files
        '* in D:\FOXDENT as a database. Replace the directory
        '* name above with the directory where your files are
        '* located.

    End Sub

End Module



Best Regards,
Earl Francis




Similar Threads
Thread Thread Starter Forum Replies Last Post
populate a drop list fro a data table greenbriar ADO.NET 2 July 22nd, 2008 10:18 PM
Trying dbf file to extract in vb.net 2002 kau_shuk VS.NET 2002/2003 1 November 9th, 2006 09:06 PM
Transfer data from .dbf file to SQL Server 2000 somnath.kartic SQL Server 2000 1 October 18th, 2006 11:01 AM
ADO Problem fro extracting excell data mmmhbd ADO.NET 1 May 20th, 2006 02:50 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.