>>Have you tried something like:
>>
>>llddeenabled = DDEENABLED()
>>IF NOT llddeenabled
>> = DDEENABLED(.T.)
>> * Your processing here
>>ENDIF
>>= DDEENABLED(llddeenabled)
>
>
>No I hadn't exactly. But I just did something similar.
>I ran this on the same machine, once under the Development version and once under the run-time version. With the following results:
>
>
>? ddeenabled()
>? ddeenabled(.t.)
>? ddeenabled()
>? ddelasterror()
>
>
Well, as Erik suggested, it looks like it's time for OLE Automation rather than DDE. I mentioned earlier that in FPW I had interfaced with Lotus 1-2-3 using DDE. Unfortunately, with the release of SmartSuite 97, Lotus products no longer support the DDE interface. So I'm having to create an OLE interface under VFP 6.0 with it. One interesting thing of note: That error that's reported evaluates to "no DDEInitiate()".
Sorry,
George
Ubi caritas et amor, deus ibi est