OK, in that case the best solution I've found is to send information back and forth between ports. I use XML because it makes everything more structured, but if extreme speed is needed you can come up with your own set of bytes that are sent back and forth that coorespond to various commands on both sides (this rids you of the XML overhead obviously).
>Thank you Craig,
>
>no, I don’t mean java-script. I’m thinking about a VFP-Frontend or a VFP-BizObj that is corresponding with a java middle tier component.
>
>Rolf
>
>
>>Now, sometimes people mean java-script when they say Java (I'm not saying you are one of them), but it is possible to run both javascript and vbscript from within VFP using the MS Script Control. You can even manipulate instances in VFP, which a FAQ I wrote sometime ago clearly demonstrates.