in reply to Using WIN32::DDE in a Windows Service

At first I thought that perhaps the user given to the service didn't have proper credentials to establish DDE connections, so I assigned it a administrator user.

Did you try leaving it as Local System account and enabling "Allow service to interact with desktop"?


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."
  • Comment on Re: Using WIN32::DDE in a Windows Service

Replies are listed 'Best First'.
Re^2: Using WIN32::DDE in a Windows Service
by bougon (Novice) on Mar 31, 2009 at 20:50 UTC

    WOW!!!

    Thank You BrowserUk! That was it.

    I've allowed the service to interact and was able to Poke into an Excel cell (simple test).

    I assume other DDE activies will work as well. I will keep the thread active to let other solution seekers know of any problem/solutions.

    Regards,

    Dan