Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2003
    Location
    seattle, wa
    Posts
    3

    Unhappy Unanswered: how to foxpro program with ASP

    I have created a foxpro program that does come calculation on user 'sinput and bring the results back to you. I want to make it webenable, How do i do that. i would like to use ASP for this. Any help would be realy realy appreciated
    Thanks
    faisal

  2. #2
    Join Date
    Jan 2003
    Location
    Midwest
    Posts
    138
    Here is the ConnectionString to connect to the database.


    <%
    Set Conn = Server.CreateObject("ADODB.Connection")
    ConnStr= "Driver=Microsoft Visual Foxpro Driver; UID=userID;SourceType=DBC;SourceDB=c:\websites1\yo urdomainname.com\folder\mydatabase.dbc"
    Conn.Open ConnStr
    %>

  3. #3
    Join Date
    Jan 2003
    Location
    seattle, wa
    Posts
    3

    error on return

    Thanks for you hjelp I used it but i am getting the following error
    Error Type:
    Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
    [Microsoft][ODBC Visual FoxPro Driver]Cannot open file us_zip.dbc.
    /asp/test1.asp, line 23

    and i am using the follwing code
    Set Conn = Server.CreateObject("ADODB.Connection")

    ConnStr= "Driver=Microsoft Visual Foxpro Driver;SourceType=DBC;SourceDB=us_zip.dbc"
    Conn.Open ConnStr

    Any help would really be appreciated

  4. #4
    Join Date
    Jan 2003
    Location
    Midwest
    Posts
    138
    Try putting the path to the .dbc file

    such as:

    ConnStr= "Driver=Microsoft Visual Foxpro Driver;SourceType=DBC;SourceDB=C:\Program Files\us_zip.dbc"

  5. #5
    Join Date
    May 2003
    Posts
    2

    Post re:Access foxpro 2X from ASP

    Can anyone tell me the idea of connecting foxpro 2X (table *.dbf) from ASP?

    Currently i am designing application to access old format dbf(foxpro2.X) by using asp, but i dun have idea about this.

    Thanx in advance!

    rgds

  6. #6
    Join Date
    May 2003
    Posts
    2
    Dear all,

    How to access free foxpro table? (According the solution you have provide is for foxpro database)

    I want to access foxpro(foxpro2.x) table in Novell Server. I have set a DSN Connection on my IIS server. But i failed to retrieve the information.

Posting Permissions

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