Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 13 FEB 2004 06:41:36AM Mike Norton wrote:

We have client who wants to link to our app using DDE. They change txtbox on our app, we read transfer_file (via change event), user works with file then submits, we then want to DDE back to them to say take data back and update your database.

Their VB6 app can DDEpoke us with data OK but we do not appear to be able to poke data back. Ideally they would like to avoid the DDEpoke and establish an DDElink with Automatic Mode (thereby avoiding user pressing a key to issue LinkRequest command). Currently they get run-time error 285 "Foreign application won't perform DDE method or operation". We can't poke back to them - automatic or not!


At 13 FEB 2004 04:29PM Steve Smith wrote:

Mike,

The best way with 32 bit is to have the VB6 app load the engine and run a process in OI which returns from OI the data required. The VB6 app simply has to know the drive/path of the engine, and it can then simply attach as required.

See The SENL article here for an example. Note that if your two apps are on different drives you'll need a Chdrive statement ahead of the Chdir statement in the VB6 code.

Steve


At 16 FEB 2004 10:19AM tony hensby wrote:

Hi Steve - I guess the reasons we want DDE poke are timing, look and feel.

We know we can get the data back (we could set focus back to the calling app and then they can press return to initiate a variety of processes to get the data from OI) we just want to do it seamlessly.

We know when the user has completed the job and want to indicate that to calling app via DDE. I know we could interface to two VB apps one called by host to write data and call OI and a second that OI could call to pick up the data and pass it back to host app but the client would prefer to do it with one VB app handlingthe traffic in two directions

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/0ed2f4e412be961185256e3900403c00.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1