How to connect VB6 to a FoxPro database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mariusseven
    New Member
    • Mar 2008
    • 19

    How to connect VB6 to a FoxPro database

    I have this problem of connecting to a fox pro database. The system i am developing was a new one but the client wants to get data from the old database. Right now i am using VB6 as my front end and Ms SQL as m back end database.
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    You want to use both Foxpro and Sql Server for backend?

    Comment

    • QVeen72
      Recognized Expert Top Contributor
      • Oct 2006
      • 1445

      #3
      Hi,

      Try this Connection String:

      Provider=Micros oft.Jet.OLEDB.4 .0;Data Source=c:\MyFol der;Extended Properties=dBAS E IV;

      Regards
      Veena

      Comment

      • mariusseven
        New Member
        • Mar 2008
        • 19

        #4
        That's the idea. Because i want to fetch data from the old db (which is the foxpro)

        Originally posted by debasisdas
        You want to use both Foxpro and Sql Server for backend?

        Comment

        • mariusseven
          New Member
          • Mar 2008
          • 19

          #5
          I'll try that this one, but i am using a connection that is not System DSN type. Its a sort of I.P. based.

          Originally posted by QVeen72
          Hi,

          Try this Connection String:

          Provider=Micros oft.Jet.OLEDB.4 .0;Data Source=c:\MyFol der;Extended Properties=dBAS E IV;

          Regards
          Veena

          Comment

          Working...