Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ken Blum
  Where is Ken Blum?
 Chicago
 Illinois - United States
 Ken Blum
 To: HARI HARAN RAMACHANDRAN
  Where is HARI HARAN RAMACHANDRAN?
 chennai
 India
 HARI HARAN RAMACHANDRAN
 Tags
Subject: RE: Create ODBC Connection Programmatically
Thread ID: 22424 Message ID: 22426 # Views: 84 # Ratings: 0
Version: Visual FoxPro 7 Category: ODBC, ADO and OLEDB
Date: Thursday, April 17, 2003 4:46:07 PM         
   


> Hi All,
> How to Create ODBC Connection Programmatically from VFP. Thanks in Adance.
> Regards,
> R.HARI HARAN

If you are thinking about distribution then VFP InstallShield allows you to create ODBC Connections. Just check ODBC Resources and you can select which ODBC resources you want created from the ODBC items on your system.

If you are talking about creating a VFP connection to an existing ODBC see the CREATE CONNECTION command.

I'm sure there is also a way to create an ODBC connection via the Windows API, and someone here knows how...

KTB

COMPLETE THREAD

Create ODBC Connection Programmatically Posted by HARI HARAN RAMACHANDRAN @ 4/17/2003 4:22:08 PM
RE: Create ODBC Connection Programmatically Posted by Ken Blum @ 4/17/2003 4:46:07 PM
RE: Create ODBC Connection Programmatically Posted by Pete Sass @ 4/17/2003 5:47:16 PM
RE: Create ODBC Connection Programmatically Posted by vijayan @ 4/20/2003 8:34:23 AM