There's actually an easier way in an article for doing this with C++ by Calvin Hsia. Look for DNA08 at
http://www.activevfp.comI think Ken Levy and/or Calvin will be adressing this with C# at Devcon ...
>Maybe this article will give you some pointers
http://www.west-wind.com/presentations/c_com/c_com.htm>
>>Are there any examples floating around how to do this?
>>
>>
>>>>Is it possible to access a VFP table from a dll written using C#, that can
>>>>pull records out of a table, delete them, and then pack the table?
>>>>
>>>>thanks
>>>
>>>You can create VFP Automation server that'll perform all those operations and use it from your C# program.