|
-
Oct 17th, 2008, 12:56 AM
#1
Thread Starter
Lively Member
[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
-
Oct 17th, 2008, 05:12 AM
#2
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).
-
Oct 17th, 2008, 05:52 AM
#3
Thread Starter
Lively Member
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?
 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).
-
Oct 17th, 2008, 05:54 AM
#4
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.
-
Oct 17th, 2008, 06:23 AM
#5
Thread Starter
Lively Member
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
 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.
-
Oct 17th, 2008, 06:26 AM
#6
Re: [2008] Distribute app that exports .dbf
Again, what you want is Jet, which is a separate download.
-
Oct 17th, 2008, 06:33 AM
#7
Thread Starter
Lively Member
Re: [2008] Distribute app that exports .dbf
 Originally Posted by si_the_geek
Again, what you want is Jet, which is a separate download.
yes,you're right,sorry
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|