Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

what is DDE alternative on Oracle Forms 12C?

ayman hamdan01Oct 11 2023

Hi. sorry about english

i have some modules on 6i and i want to upgrade to 12c.

There is a module, which contains a procedure for calling a program .exe by using DDE library.

PSEUDOCODE:

PROCEDURE Attach
(ArchiveName Varchar2) IS

ImgAttachScanId Pls_Integer;
Arch_Status Varchar2(1);

       BEGIN   
          ImgAttachScanId := dde.initiate('Imaging','ImgScan');  
          dde.poke(ImgAttachScanId,'ArchiveName',ArchiveName,dde.cf\_text,1000000);  
           
          dde.terminate(ImgAttachScanId);

       Exception  
          WHEN DDE.DDE\_INIT\_FAILED THEN   
             MESSAGE('Error: Can not Initiate Image Scan Tools');


          WHEN DDE.DMLERR\_NO\_CONV\_ESTABLISHED THEN 


             MESSAGE('Error: Conversation With Image Scan Tools Has Failed');  
          WHEN OTHERS THEN  
             NULL;     

End;

i know DDE Library no longer exists, i installed and made webutil settings.

What is the alternative?

THANKS

Comments
Post Details
Added on Oct 11 2023
1 comment
216 views