DDE comunication between service app and desktop app

Hi...,
I've made service application and desktop application, what  I want to do make my service application
send a command (string variable) to my desktop application. I've used dde, and already set "Allow service to interact with desktop" in the windows service properties , but this situation is not works', it alway try to open the program and not send the command.

Anyone can give an example how to make those difference type of application communicate?

Thanks
sirro
sirroAsked:
Who is Participating?
 
BedouinDNConnect With a Mentor Commented:
Hi there.

Did you get the components working?

I have used the code in a service application talking to a control application without any issues.

Regards.
Colin.
0
 
sirroAuthor Commented:
Is there any other mechanisme for inter process communication between service application and desktop application besides dde.

Thanks
0
 
BedouinDNCommented:
Hi there.

What about using Windows.SendMessage to communicate between the apps?

I have found a free to use/distribute component written by Troels Jakobsen with source code and examples of use that does this quite well, if you want it, I can email this to you.

Regards..

Colin..
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
sirroAuthor Commented:

hello BedouinDN ..., it seems interensting, of course I'm want it, because till this time,I still have no solution for the problem, would you like to send the component you mean in my email at: rossi@intramedian.com

Thanks
0
 
BedouinDNCommented:
Hi there.

I am getting the following error trying to send to that email address:


Hi. This is the qmail-send program at build.techscape8.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<rossi@intramedian.com>:
Mail quota exceeds 5000 kilobytes.
0
 
sirroAuthor Commented:
Oh I'm really sorry...,
would you mind sending it agin on rossilazuardi@yahoo.com

Thanks.

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.