>>>>Here's an example that I have just tried. Althought it was a bit slow on the DDEinitiates in NT4 Workstation.
>>>>
>>>>run /n7 "c:\progra~1\Micros~1\Office\Excel.exe"
>>>>lnHandle = ddeinitiate("Excel", "System")
>>>>? dderequest( lnHandle, "Topics")
>>>>? ddeterminate(lnHandle)
>>>>lnHandle = ddeinitiate("Excel", "[Book1]Sheet2")
>>>>? ddepoke(lnHandle, "R1C1", "=34*45")
>>>>? dderequest(lnHandle, "R1C1")
>>>>? ddeterminate(lnHandle)
>>>
>>>Hey... I am trying this on win 3.11 . I said for 16 bit all this , I am doing.
>>
>>Yes, this should all work fine in Win 3.11 I would even expect the DDEInitiate delay that I am experiencing to disappear for you.
>
>
>Worked simply marvelous.
>Thanks.
>I was trying this as per the online example, and I am not getting.
>According to yours, I got it perfectly.
>ie. using ddeinitiate , twice. First to start an application and second to connect. Now with that modification, I got all online examples.
>
>Is it possible that, DDE Server (I use Foxpro) window can be invisible , when I use VB as DDE client ?
Well, If you are going to start the FP .exe with SHELL(), you can specify that it should start minimized. Then on FP startup you could use FP to hide its own window ( I forget if this is possible in FP 2.6, but I remeber something about moving the main window until its position is entirely off the screen)