473,405 Members | 2,262 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Dynamic Data Exchange with Windows Service

3
I have created a DDE( Dynamic-Data Exchange) Client (Console) application to interact with a legacy DDE Server. This client is working perfectly

I am asked to develop same functionality in a windows service. I have already tried the following and have not achieved success til yet
1) Loading the Assembly (DLL) containing the DDE Client using AppDomain.Load / Assembly.Load
2) Loading a DDE Client (console app) using System.Diagnostics.Process.Start(filename);
3) Implementing DDE Client functionality in Windows Service itself.

It seems that Windows Service do not allow calling Windows Form Controls. So that is a problem.

My objective is to establish a DDE connection using DdeConnect and then send request to the DDE Server.

Can Somebody help me resolving this issue

thanx in advanced
Apr 14 '09 #1
1 4370
PRR
750 Expert 512MB
Windows services exists and run in their own terminal session.. which is transparent to the active users... meaning if you try opening a notepad from a windows service
Expand|Select|Wrap|Line Numbers
  1. System.Diagnostics.Process.Start("notepad.exe", @"C:\S.txt");
  2.  
it wont be visible... to the user.. though it will be "listed" in task manager..
If your program has a GUI windows service wont help( windows service run in background)... Windows service do not require active users...
Apr 14 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Seshadri | last post by:
Greetings, I am using C# to write a windows service that will periodically scan the exchange server for emails,fetch them, process the information in the emails and flag them after processing. I...
2
by: | last post by:
How can I force SmtpMail class to use CDO for Windows 2000 instead of Exchange 2000. We do not use Exchange at all. I want to do this because I am having a problem sending email from the web...
8
by: Rob Edwards | last post by:
When trying to add the Microsoft CDO for Exchange Management Library (aka CDOEXM.dll) I receive the following message: "A reference to 'Microsoft CDO for Exchange Management Library' could not be...
7
by: Mike Livenspargar | last post by:
We have an application converted from v1.1 Framework to v2.0. The executable references a class library which in turn has a web reference. The web reference 'URL Behavior' is set to dynamic. We...
62
by: Bryan Dickerson | last post by:
Is there a way, with VS 2005 and FX 2.0, to read a given inbox? I need to write a 'monitor' program and my boss is convinced, as is always his first gut reaction, that we need to go buy a...
13
by: Krivenok Dmitry | last post by:
Hello all! Perhaps the most important feature of dynamic polymorphism is ability to handle heterogeneous collections of objects. ("C++ Templates: The Complete Guide" by David Vandevoorde and...
4
by: Tarren | last post by:
Hi, All: I am tasked with the following. I need to write a service to monitor an Exchange mailbox and take action when an email is received, put it in a db, etc. I do not need to send emails...
1
by: Albertas | last post by:
Hello, I have a Web Service that needs to send and receive data from running windows forms application every time when WS methods are called. My question is: What is the best way to do that? I'm...
4
by: Dylan | last post by:
Hello, I was trying to do a WCF tutorial (http://wcf.netfx3.com/content/ BuildingHelloWorld.aspx). I need to get the meta data from my service usin svcutil.exe why is not working? Please see...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.