Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win



Visual FoxPro (VFP), and its predecessor FoxPro, is a data-centric, object-oriented, procedural, database programming language and IDE from Microsoft last released in 2007 that still has some active use due to its low cost of deployment and fairly rapid development. In 2008, Microsoft released a set of add-ons for VFP's xBase components to allow interoperability with various Microsoft technologies. It allows data processing against its native file-based data tables or database servers such as SQL Server.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hi Experts

Could you point how to have a gateway to credit cards/ paypal/ ... - any library for that use when using a VPF's PDV app?

Thanks in advance!
Tech or Treat!
LVL 10
Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

I have a DOCX with mail merge fields set up and a CSV file for the data source. If I complete the merge and save the main document, when I re-open the main document I get an error message saying that (an unknown docx filename) is a mailmerge main document. Word cannot find it's data source (correct CSV filename).
The CSV file stated in the error message exists in the path stated in the error message. I know that if running manually, I can disconnect then reconnect the data source and go on, however, this document needs to be processed from within a Visual Foxpro program using OLE automation. Unfortunately, if I attempt to process the document from within the program I get the same message about Word cannot find the data source.
I need to get this working as soon as possible using Word 2010 and Office 365. Worthy of mention is that I have many Visual Foxpro programs that successfully automated Word mail merge when we were using Word 2003.
Thanks in advance.
Is there a way to make a VFP application executable that runs fine in Windows 7 with Visual Studio 6 installed to work in Windows 10? Windows 10 does not allow to install VS 6. Windows 7 complained somewhat during the VS 6 installation, but still installed it, and the VFP executable runs fine.

Thank you.
i have a program running 15 yrs now and the client wants to use Excel to link to the dbc and tables to do some more reports
Hello Experts!

So I'm working on converting some programs over from Inserting data into FoxPro to now inserting that same data into MS Access 2013...because lets face it FoxPro is gone.

Now comes my issue, in FoxPro I had a field set to character length of 4...in MS Access same field text set to length of 4.
However there are times I get data in the file that is longer than 4 and when importing that data into FoxPro it would just truncate the data from say 6 to 4 and insert it...however in MS Access it doesn't strip it from 6 to 4 it throws an error.

"The field is too small to accept the amount of data you attempted to add."

Is there a way to set MS Access (property of some kind) that will just truncate (ignore the length) the data if it is longer than 4?
Or do I need to change my program to pull all fields from left to right and truncate all the fields in my program?

I have Foxpro 2.6 dos run under Novell 3.12 server. I want to move it to windows server 2012r2. What I have to do to make it work multiple users?
i have  two  file having  same filed for  diff rant year  and  required  diff of filed no 6 to 17 on 3rd dbf
Hi Experts,

i need suggestion to convert .xlsx or .csv file in to .dbf format , in my machine i had installed Visual FoxPro - Access - Excel. please help me out .

I've got a third-party conversion utility that I want to incorporate into my Visual FoxPro code (version 9.0 SP2).

Two of the parameters that I need to pass to this are non-standard types, which, in the Visual Basic example that comes with the documentation, have been declared as such, with the command

Public Type Coordinates
X As Double
Y As Double
Z As Double
End Type

How do I set this up in VFP?
Hi Guys,

Here's a beginner style question. I have never done anything in Databases nor have I worked on GUIs. We are running FoxPro 2.6 for Payroll since the boonies and want to convert to Access with a GUI .. Eventually we will get an ERP

I know how to convert dbf files to access, that is not the issue. The problem is, I do not know the process of how to start building the GUI. User accounts, Data, Printing, employee info, we have a lot of databases. I know it will be a timely process .. any ideas where I can start?

Would love some help here.. if you guys know any company that does this conversion and building of GUI in access, let me know as well.


Hire Technology Freelancers with Gigs
LVL 10
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

I've got a third-party DLL file that I want to access from within VFP. The DLL file is called GIQ.DLL; the function within that is called ConvertCoordinates().

I've got a DECLARE statement that seems to work : after I've run this, when I do DISPLAY STATUS, the function andd the DLL are both reported.

But when I try to run the function, I get the error message

    Cannot load 32-bit DLL ...\giq.dll

I've tried moving the DLL into the same folder as the rest of my program.

I've tried unzipping the file afresh.

Any suggestions?
In VFP6 report I want to make same printer margins  to all printer drivers like Microsoft word & excel does.

Please make it fast, its essential.

Thanks in advance
Balaji Infocom
I want to command in dos foxpro 2.6 to remove eof mark in my csv generated thru program
I suspect the answer to this question is "Windows 10 update" like so many others I've had to deal with.

I'll describe how the problem manifests. What I'm after is a way of zeroing in on the culprit.

Took me several days to realise I had the problem. I had wrongly assumed that I was requiring VFP to perform a more arduous task than I'd anticipated.  It almost doesn't matter what the task was but I'll describe it anyway.

I was running a report involving 32k records but requiring a summed calculation based on a quantity held in the current table and a cost held in a related table.  The kind of thing we've all done a zillion times.

Some of mine can take a few minutes to run, especially if they're sucking out 2 years worth of data and performing a detailed year on year comparison, so I wasn't too perturbed when this particular report was taking longer than I expected.

But then it got ridiculous. Last night I had to leave it running while it churned through just 32k records (and only 8k in the related table) and check in from home to find it had finished about 20 minutes after I'd left. WTF?

So today I've been troubleshooting. Frequent culprit has been Zonealarm. If you don't specify certain programs as being safe, it performs a paranoid check every time you run them. But the program had been correctly tagged. Didn't fully trust that, so I uninstalled zone alarm. Rinse and repeat. Problem behaviour still there.  I should specify that it's actually Zone Alarm …
Hi Experts,

Need a help to edit .dbf file or say create .dbf file, i have Excel 2016 but i can't find any option to save file as .dbf format. actully i have one .dbf file and opened in excel change whole data and try to save but excel error...... it missing some data while open again. is there any way out to open .dbf file and edit data and save as .dbf file ?  or is there any way if i create one .csv file and convert to .dbf file.?

Using SQL Server 2008 R2 and Using the SQL 32 Bit Import and Export Data to connect to a Visual FoxPro Database (this used to work Just Fine)

However when selecting Data Source and Choosing OLE DB Provider for Visual Fox Pro I get the following  error

Feature is not available. (Microsoft OLE DB Provider for Visual FoxPro)

Program Location:

   at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
   at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory,…
We are looking at the future of a VFP9 ERP app. In testing one path, a C++ programmer is finding it more of a challenge than he expected to convert the database to SQL Server 2014. So far there seems to be no way around retyping all the field names after exporting. I know nothing about SQL Server--but figure I'd better start to learn! Is this the case? No straighforward migration of a VFP9 database to SQL Server 2014? (No fancy triggers or rules)
Hello Experts some antivirus and other applications report our app as unsafe or propose delete...
what is the procedure to register it properly so no other software will see it as a threat?
We use visual studio (basic and c#) but we also still have some legacy visual fox pro apps working just fine.
In VB.net it appears it rounds my number when I don't want it to...

Amount = $110.00
Percent = 0.1791

In FoxPro when you multiply Amount * Percent you get = 19.695543
In VB.net when you multiply Amount * Percent you get = 19.701

I want the same result as I get in FoxPro...how can I get the decimal places out farther in VB.net.

Concerto's Cloud Advisory Services
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Hi All,


According to my work, pdf files will be get merged in a specific path. I need to give dynamic file names to the mergedOutPut File.
1. Is there any way to pass parameters to the file name?
2.Or I can give fixed file name to the mergedOutput file through my code.After that Can I  rename it into dynamic naming conversion?

I saw RENAME command in Foxpro. But I am not sure whether I can pass parameters to it

Any help regarding this would be highly appreciated.

Thanks in Advance.
I have found a strange performance issue with xBase++.
Essentially, client performance is very good until database files in the same database are opened locally on the server (see graph.)
Details are below.

Test Setup
•      Three client platforms and two server platforms, all under controlled conditions.
•      Clients: Win7 10/100, Win7 gb, Win Server 2008 R2 via XenApp
•      Servers: Win Server 2012 R2, Win Server 2008 R2 (VMware virtual machine)
•      xBase++: 2.00.785
•      Dbe: FOXCDX (see dbesys.prg example)
•      Client test function: representative function that creates a DBF/CDX file on the client C: drive from data assembled from multiple open data files residing on the server.

Test Procedure
1.      Reboot the server
2.      On a client map a drive to the server database share
3.      Run the app from the client c: drive, starting it in the mapped server folder – performance is good for multiple simultaneous clients
4.      Run an app locally on the server and open files in the same database folder as the client
5.      As the number of files opened locally on the server increases the client performance degrades significantly for all clients, even new instances on different machines (see graph)
6.      Close the locally opened files on the server
7.      Client performance remains degraded

•      The performance is poor for all subsequent clients once a database folder has files opened locally on the server
•      The performance …
I have a foxpro data table having files name and fname. Now i want to create a foxpro form having text box on it  and i press a alpha bates key from keyboard like A all the name starting with a will listed for making selection and when i press second key b all the name stared with ab will be listed and so on.   Is it possible please help
I am trying to automate printing in foxpro.My requirement is When I clicked on print button It should start printing without asking for the destination folder dialogue box. printing is working fine..But it always asks for destination folder dialogue box

i tried with set printer to funtion..But it is for pointing the .exe file of the default printer

set printer on


Is there any option in foxpro to set destination folder programatically?

 in my system I have adobe pdf and pdf995.

Thanks in Advance
I had to reinstall Windows 7 and Access 2013 and now I cant find my ODBC drivers to Link with Foxpro from Access?
FoxPro  FoxPro 2.6
I have a customer Master with Code & Name Fields. While entering data through Input screen I will type customer name and the program will go on filtering the name of the customer from the Master Data File and when I press Enter Key it will select the exact record from the master with Code. If there is any program in foxpro 2.6 kindly mail me at rajesh.ranjan@modernajyoti


Visual FoxPro (VFP), and its predecessor FoxPro, is a data-centric, object-oriented, procedural, database programming language and IDE from Microsoft last released in 2007 that still has some active use due to its low cost of deployment and fairly rapid development. In 2008, Microsoft released a set of add-ons for VFP's xBase components to allow interoperability with various Microsoft technologies. It allows data processing against its native file-based data tables or database servers such as SQL Server.

Top Experts In