Home » Developer & Programmer » Forms » How to Re-write DDE code for Forms 10g (Forms 10g, 10.1.2.0, UNIX)
How to Re-write DDE code for Forms 10g [message #422138] Mon, 14 September 2009 10:41 Go to next message
Khalid Baig
Messages: 6
Registered: May 2003
Junior Member
We're upgrading a 6i client-server Forms app to 10g, and need to maintain calls to several Powerbuilder modules (.exe's).

I 6i, we're performing something like the following DDE commands:

l_app_id := DDE.APP_BEGIN('receipt.exe', DDE.APP_MODE_NORMAL);
l_conv_id := DDE.INITIATE('receipt', 'System');
DDE.POKE(l_conv_id,'gv_track_num',l_passed_string,DDE.CF_TEXT, 3000);
DDE.APP_END(l_app_id);

How do we utilize OLE2 from Webutil in 10g for something like this? The only examples we've been able to find for OLE2 are for Word and Excel.

Thanks for any help!!!
Re: How to Re-write DDE code for Forms 10g [message #423062 is a reply to message #422138] Tue, 22 September 2009 00:02 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
I thought DDE was supported in Forms 10g.

David
Re: How to Re-write DDE code for Forms 10g [message #423226 is a reply to message #422138] Tue, 22 September 2009 17:41 Go to previous message
Khalid Baig
Messages: 6
Registered: May 2003
Junior Member
Hi David,

You are correct but since the application server is UNIX application server and DDE calls is windows I do not think it would work. This exe file is from power builder. Is there any way this DDE could work on client machine or if there is another way like CLIENT_OLE2 that could do the same. If so please let me know if you can code the original DDE to do same as in 10g.

Thanks
Khalid
Previous Topic: Erorr while updating or deleting a record...
Next Topic: "Do you want to save the changes you have made?" with customized procedure
Goto Forum:
  


Current Time: Fri Sep 20 06:41:30 CDT 2024