[2008] Distribute app that exports .dbf
Hi. I'm working to an application that exports some .dbf files from my server tables.I'm wondering if I'll distribute this app do I have to install some other components like MDAC,except Framework.
This is the way I use dbf files:
vb.net Code:
Dim oConn As OleDbConnection = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source='c:\';Extended Properties=dBASE IV;User ID=Admin;Password=;")
Dim OCmd As OleDbCommand = New OleDbCommand(strsql, oConn)
oConn.Open()
............................
OCmd.ExecuteNonQuery()
oConn.Close()
Thanks
Re: [2008] Distribute app that exports .dbf
You need to ensure that the Jet.OLEDB.4.0 provider is installed. You can get the installation for it from the MDAC downloads page (link in my signature).
Re: [2008] Distribute app that exports .dbf
Thanks si_the_geek.
MDAC 2.8 has 5.3 MB,is there a way to distibute only the component needed for dbf and not the whole MDAC package?
Quote:
Originally Posted by si_the_geek
You need to ensure that the Jet.OLEDB.4.0 provider is installed. You can get the installation for it from the MDAC downloads page (link in my signature).
Re: [2008] Distribute app that exports .dbf
You shouldn't need MDAC (I think the .Net framework includes it), you need Jet - which is in a separate section of the MDAC page.
Re: [2008] Distribute app that exports .dbf
thanks
Now,my question is what is that part I need and how can I distribute it without ditribute all MDAC package
Quote:
Originally Posted by si_the_geek
You shouldn't need MDAC (I think the .Net framework includes it), you need Jet - which is in a separate section of the MDAC page.
Re: [2008] Distribute app that exports .dbf
Again, what you want is Jet, which is a separate download.
Re: [2008] Distribute app that exports .dbf
Quote:
Originally Posted by si_the_geek
Again, what you want is Jet, which is a separate download.
yes,you're right,sorry
thanks