Questions tagged [visual-foxpro]

Questions tagged with Visual FoxPro should be specifically about the Windows based versions of FoxPro, from 3.0 through the final 9.0 version. Earlier versions, and the versions for the Mac and SCO UNIX are not "Visual", and shouldn't be tagged as such, nor should the tag FoxPro be included on questions about Visual FoxPro.

Visual FoxPro (VFP) is a data-centric, object-oriented, procedural, programming language from Microsoft. The last released version, 9 Service Pack 2, was in 2007. Microsoft has since discontinued the product, but it still has active use in business to this day, due to its low cost of deployment and fairly rapid development.

Visual FoxPro is a descendant of (originally FoxBASE), which in turn was based on of the family of file-based databases. In 2007 Microsoft confirmed that there will be no release of Visual FoxPro 10 or a .NET version of Visual FoxPro.

In 2008 Microsoft released a set of add-ons for VFP's xBase components to allow interoperability with various Microsoft technologies. These were developed under the codename Sedna and made available on the site under the shared source license.

The following versions of VFP have been released:

  • 1995 (VFP 3.0)
  • 1996 (VFP 5.0)
  • 1997 (VFP 5.0a)
  • 1998 (VFP 6.0)
  • 2001 (VFP 7.0)
  • 2001 (VFP 7.0 Service Pack 1)
  • 2003 (VFP 8.0)
  • 2003 (VFP 8.0 Service Pack 1)
  • 2004 (VFP 9)
  • 2005 (VFP 9 Service Pack 1)
  • 2007 (VFP 9 Service Pack 2)

Features

  • Database engine, using the format. Supports reading and writing dBase and FoxBASE files. While it retains this backwards-compatibility support, in later versions it included new features that, when used, made the table FoxPro-specific.
  • A built-in query optimizer called Rushmore. The FoxPro implementation of Rushmore made use of existing indexes when an index definition had a matching expression in the issued command.
  • SQL support, in the form of a limited ANSI SQL dialect, although it does have FoxPro extensions here and there.
  • OOP design. FoxPro has reasonable support for classes, class libraries, inheritance, etc.
  • Procedural support. The original FoxBASE was non-OOP and a procedural-oriented language that worked closely with internal data bindings. For backwards compatibility, this was retained.
  • GUI designers for Forms, Reports, and other controls.
  • Access to third-party databases was added in later versions. Tables in an outside database (say, PostgreSQL, Microsoft  SQL Server, MySQL, Oracle, or some other ODBC or OLEDB - connected database) could be added to a data session and made to appear like local FoxPro tables.

Resources

Please note that FoxPro has long since been discontinued by Microsoft, with the last version being version 9 SP 2.

1228 questions
4
votes
1 answer

Get list of tables from database

Can anyone tell me how to obtain a list of tables in a Visual FoxPro database from within C#? I tried using the GetSchema but the information that comes back seems to just be counts (and not accurate counts at that). Here is what I have... string…
Gene S
  • 2,735
  • 3
  • 25
  • 35
4
votes
1 answer

Converting .CSV to .DBF(dBASEIII) VFP 6.0, everything becomes memo field

I'm trying to convert excel files to dbf(dBASEIII) using python and my current process is: Use xlrd to convert the excel file to a .csv I take the headers off of the .csv and I use Take the newly made .csv and use the dbf module…
Jon Ngo
  • 93
  • 4
4
votes
4 answers

How can I export data from a foxpro database to excel(.xls)?

I want to enter the data in FoxPro but save the data in .xls format.
ravirajsahu
  • 43
  • 1
  • 1
  • 3
4
votes
2 answers

Visual FoxPro 9 compatibility with Windows Vista

What compatibility issues have you found when developing with Visual FoxPro 9 on Windows Vista?
YeahStu
  • 4,032
  • 5
  • 48
  • 69
4
votes
2 answers

SQL - Return limited number of rows, but full row count

Scenario: I need to pull information out of a Visual FoxPro database; however, running large queries against this has a tendency to lock the system up. To resolve this, we put limits in place that cancelled the query if it ran past a certain…
John
  • 17,163
  • 16
  • 65
  • 83
4
votes
1 answer

iPhone ARMv6 VFP asm latency, throughput and hazards

in this document: http://infocenter.arm.com/help/topic/com.arm.doc.ddi0301g/DDI0301G_arm1176jzfs_r0p7_trm.pdf on page 21-25 (pdf page 875) the througput and latency timings are given for the assembly instructions of the VFP unit. Are those numbers…
genesys
  • 3,557
  • 7
  • 29
  • 25
4
votes
1 answer

opensource jdbc driver for foxpro

Does anyone know of a free/opensource JDBC driver for fox pro dbf? because the jdbc-odbc bridge is not working for me ! check my previous question click here
user1912404
  • 386
  • 4
  • 11
  • 26
4
votes
5 answers

Is there a C# equivalent to FoxPro's addbs()?

In Visual FoxPro. there is a function addbs(), to which you pass a string. If there is not a backslash at the end of the (trimmed) string, it will add one. If there is a backslash, it will return the trimmed string. lcString =…
user2261248
4
votes
4 answers

How can I consume restful services from visual fox pro?

I have created a RestFUL api using mvc4 asp.net web api, one of my customers needs to consume some services from his visual fox pro system. He tells me can't use my RestFUL services, because there's not way. I don't know anything about Visual…
4
votes
3 answers

DBF tables in Foxpo could get corrupt when reindex? (Without outage or crash)

We have a Foxpro exe application that is shared in a server and about 20 users run it. One colleague told me that if those dbf tables need to be reindexed, he should tell everybody to leave the exe application. If reindex process starts and some…
Jorge
  • 175
  • 1
  • 4
  • 11
4
votes
2 answers

How do i read a dbase file and apply different decoding?

I have a dbf file endcoded as 866 codepage (DOS) Using the code below, I'm trying to read it. Problem is that strings I get are formed as if the file was in code page 1252. I've checked other questions on SO and other forums with no luck so…
Alexander Taran
  • 6,655
  • 2
  • 39
  • 60
4
votes
4 answers

FoxPro to C#: What best method between ODBC, OLE DB or another?

We need to read data from FoxPro 8 with C#. I'm gonna do some operations, and will push some of thoses data to an SQL Server database. We are not sure what's best method to read those data. I saw OLE DB and ODBC; what's best? REQUIRMENTS: The…
Bestter
  • 877
  • 1
  • 12
  • 29
4
votes
1 answer

float to integer conversion using iPhones SIMD float unit

I am currently trying to optimize some DSP related code with Shark and found that I am wasting a lot of time in a float to integer conversion: SInt16 nextInt = nextFloat * 32768.0f + 0.5f; As the iPhone seems to have an ARM11 FP co-processor, I am…
Thomas Zoechling
  • 34,177
  • 3
  • 81
  • 112
3
votes
4 answers

Batch convert visual foxpro dbf tables to csv

I have a huge collection of visual foxpro dbf files that I would like to convert to csv. (If you like, you can download some of the data here. Click on the 2011 link for Transaction Data, and prepare to wait a long time...) I can open each table…
Zach
  • 29,791
  • 35
  • 142
  • 201
3
votes
1 answer

Error returning objects to VBA from Visual Foxpro COM server

I am getting the following message when trying to return a new object to VBA from my Visual Foxpro COM server. "Run-time error '-2147417851 (80010105)': Method 'ReturnObject' of object 'Itestclass' failed" If I remove the "Dim ... As" line the error…
Caltor
  • 2,538
  • 1
  • 27
  • 55
1 2
3
81 82