Ed,

>If your front end is a .Net form, it probably doesn't speak VFP very well,
and might not be the best choice. 

.NET forms can easily handle VFP data returned from a method call as XML by
reading the XML into a DataSet. It helps to have the schema info embedded
into the XML, which can be done with the CursorToXML or XMLAdapter. If the
DataSet needs more than one table, the VFP XMLAdapter can be used to send
back XML containing data from more than one VFP table/cursor.

This approach was useful on a project where the VFP "middle tier" used some
old, complicated Fox code to do some complex calculations and send a result
set back to a .NET front end. There is a slight performance hit in calling
the VFP COM object from .NET, but it was still very, very fast and made the
project feasible (instead of re-writing the calculation engine in .NET).

David Stevenson 


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.5/403 - Release Date: 7/28/2006
 



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to