How to Re-write DDE code for Forms 10g [message #422138] |
Mon, 14 September 2009 10:41 |
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 #423226 is a reply to message #422138] |
Tue, 22 September 2009 17:41 |
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
|
|
|