If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > how to foxpro program with ASP

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-07-03, 19:01
faisal faisal is offline
Registered User
 
Join Date: Jan 2003
Location: seattle, wa
Posts: 3
Unhappy 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
Reply With Quote
  #2 (permalink)  
Old 01-14-03, 17:44
Memnoch1207 Memnoch1207 is offline
Registered User
 
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
%>
Reply With Quote
  #3 (permalink)  
Old 01-14-03, 18:13
faisal faisal is offline
Registered User
 
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
Reply With Quote
  #4 (permalink)  
Old 01-15-03, 10:33
Memnoch1207 Memnoch1207 is offline
Registered User
 
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"
Reply With Quote
  #5 (permalink)  
Old 05-12-03, 03:51
nisney nisney is offline
Registered User
 
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
Reply With Quote
  #6 (permalink)  
Old 05-22-03, 06:41
nisney nisney is offline
Registered User
 
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.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On