Re: DDE

From: Lang Richard <richard_at_dse.it>
Date: 1996/04/24
Message-ID: <317E3B85.392D_at_dse.it>#1/1


App_ID := DDE.App_Begin('c:\office\wpwin.exe c:\tst.wpd',DDE.App_Mode_Normal);

With this command you Start the application and give as a parameter the document to open.
1) Now you can ask the user with a text-item the Path/Document to open and:

App_ID := DDE.App_Begin('c:\office\wpwin.exe '||:Doc_item,DDE.App_Mode_Normal);

2) or open the document on started application

Can_Id := DDE.initiate('WordPerfect', 'System'); DDE.DDE_Execute('[Open "'||:Doc_Item||'"], 5000);

in this case you could set the TIME-OUT-limit, so on a slow computer you don't have the possible Time-Out-Error. (In first case you could not set this limit, so the possibility of time-out are greater)

Hope this helps!

-- 
Lang Richard                 EMAIL: Richard.Lang_at_dse.it
DSE	                      or  : richard_at_calico.dse.it
39100 Bozen
Galvanistr 33                   Tel.: 0039 471 555 711
(BZ) ITALY

Privat:--->          Lang Richard
================     39019 Dorf Tirol
                     Ruprechtweg. 4
                     Tel.: +39 473 565 149
                     (BZ) ITALY
Received on Wed Apr 24 1996 - 00:00:00 CEST

Original text of this message