Results 1 to 7 of 7

Thread: [2008] Distribute app that exports .dbf

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2007
    Location
    Constanta,Romania
    Posts
    71

    [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:
    1. Dim oConn As OleDbConnection = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source='c:\';Extended Properties=dBASE IV;User ID=Admin;Password=;")
    2. Dim OCmd As OleDbCommand = New OleDbCommand(strsql, oConn)
    3.        oConn.Open()
    4. ............................
    5.       OCmd.ExecuteNonQuery()
    6.      oConn.Close()
    Thanks

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    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).

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jan 2007
    Location
    Constanta,Romania
    Posts
    71

    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).

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    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.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Jan 2007
    Location
    Constanta,Romania
    Posts
    71

    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.

  6. #6
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: [2008] Distribute app that exports .dbf

    Again, what you want is Jet, which is a separate download.

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Jan 2007
    Location
    Constanta,Romania
    Posts
    71

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width