Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get DDEInitiate() to work in RunTime Version.
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00183907
Message ID:
00184079
Views:
18
>>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:
>
>
                    && Under Developer       Under Run-Time
>? ddeenabled()           &&  .T.                      .F.
>? ddeenabled(.t.)        &&  .T.                      .F.
>? ddeenabled()           &&  .T.                      .F.
>? ddelasterror()         &&   0                       10
>
>
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
Previous
Reply
Map
View

Click here to load this message in the networking platform