×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

DDE Conversation - Multiple Clients running

DDE Conversation - Multiple Clients running

DDE Conversation - Multiple Clients running

(OP)
Hi,

i'm new to PSC-programming/customizing and need a little help from the gurus.

I want to transfer data from an external application to sc via dde. There is no prob as long as only one client is running on the machine. If more than one client is runnig only the last client started becomes the destination of all dde-conversation.

Does anyone know how comunicate with the client who for example starts the external program no matter how many clients are running?

Is there another way to reach the goal?

Thanks for your interest/help.

Sam.

RE: DDE Conversation - Multiple Clients running

no way , because, you cann`t change the topic of a sc client

RE: DDE Conversation - Multiple Clients running

(OP)
Hi dx111ge,

thanks for your response. I'm not sure i discribed my problem well.

I have a format (dbsisissystem, hi Sven ). This form has multiple fields. One of this fields is a fill-field. The ButtonID of the FillField is set to 1000. In the action of this butto is to start the external app (us.launch.external with parameters). The app starts and gets data from somewhere.  This data then is transfered via multiple DDE-Calls ('ServiceCenter','ActiveForm','fieldname') to SC.

This mechanism works well. At the end of execution the ActiveForm is filled out with all the data of the external app. (SC acts as DDE-Server)

If i start a second SC-Client on this machine, or asecond client is allready running on this machine only the last started client acts as DDE-Server. No matter wich client is active (has the focus).

I'm sure i could solve the problem by making SC-Client acting as DDE-Client not Server, but for this i need to program RAD (no licence).

Here my question again is it possible to force the active SC-Client (wich has the focus) to act as DDE-Server?

Greetings SamC (jc).
 

RE: DDE Conversation - Multiple Clients running

us dde script to get values .... thats the right way

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close