Hi David,
The answer to your question is yes, VFP is exposed via COM. You can find documentation in the VFP help file, programmer's guide, or MSDN. The methods you will be most interested in are:
DataToClip-This method allows you to place X number of records to the clipboard.
DoCmd-This method executes a native VFP command.
Eval-This method evaluates a VFP expression and returns the result.
RequestData-This method returns data in an array for the number of records you specify.
Here's an example:
*create the server
oVFP=CreateObject('VisualFoxPro.Application')
*open your table
oVFP.DoCmd('USE MyTable')
*return the first record in an array
MyArray=oVFP.RequestData('MyTable',1)
*place the first record in the clipboard
oVFP.DataToClip('MyTable',1)
*return a specific record
MyVar=oVFP.Eval('MyTable.MyField')
One thing to remember. If you're going to automate VFP, it has to be installed on that machine. So if this is a distributed app, this isn't feasible, AFAIK. That is, unless your clients have VFP, and that's highly unlikely.
You may wanna look into using VFP's ODBC drivers. For an example, check the FAQ area of this forum, FoxDev's FAQ will get you going in the right direction.