473,698 Members | 2,409 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

application communication

Hi!
Is there any easy way to send a command(or a number/whatever) to a running
application?
That's the situasion:
I wrote a windows service and installed it on the computer. And I wrote a
normal program that starts this service and send some commands to it (by
ServiceCommandM anager) and the service does something...
Now I need to send a replay to my program that the service was succesful/or
not. How to do that?
If you have any ideas about communication between two running programs it
also should help...
Any ideas?
Nov 20 '05 #1
4 1230
Cor
Hi zurg,

The only thing I can say is, "Take a look for remoting on msdn"

Cor
Is there any easy way to send a command(or a number/whatever) to a running
application?
That's the situasion:
I wrote a windows service and installed it on the computer. And I wrote a
normal program that starts this service and send some commands to it (by
ServiceCommandM anager) and the service does something...
Now I need to send a replay to my program that the service was succesful/or not. How to do that?
If you have any ideas about communication between two running programs it
also should help...
Any ideas?

Nov 20 '05 #2
Looking... that my take a while...;)
Hi zurg,

The only thing I can say is, "Take a look for remoting on msdn"

Cor
Is there any easy way to send a command(or a number/whatever) to a running application?
That's the situasion:
I wrote a windows service and installed it on the computer. And I wrote a normal program that starts this service and send some commands to it (by
ServiceCommandM anager) and the service does something...
Now I need to send a replay to my program that the service was

succesful/or
not. How to do that?
If you have any ideas about communication between two running programs it also should help...
Any ideas?


Nov 20 '05 #3
* "zurg" <zu**@wp.pl> scripsit:
Is there any easy way to send a command(or a number/whatever) to a running
application?


Remoting:

<http://msdn.microsoft. com/library/en-us/cpguide/html/cpconnetremotin goverview.asp>

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #4
That's the thing I was looking for - thanks Cor
Now I need some time to read&understand it&make it works in my program
Thanks again
Zurg

Looking... that my take a while...;)
Hi zurg,

The only thing I can say is, "Take a look for remoting on msdn"

Cor
Is there any easy way to send a command(or a number/whatever) to a running application?
That's the situasion:
I wrote a windows service and installed it on the computer. And I wrote
a
normal program that starts this service and send some commands to it
(by ServiceCommandM anager) and the service does something...
Now I need to send a replay to my program that the service was

succesful/or
not. How to do that?
If you have any ideas about communication between two running programs

it also should help...
Any ideas?



Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
5342
by: ^CeFoS^ | last post by:
Hi to everybody, due to I want to use the serial port of a server machine through an applet allocated in html document. > Then one application will run in the server machine and using > the serial port. The other application that will be called in the html > document that it'll allocate the frame with the user interfaz and > it'll manage the events (applet). > > But I have any questions. I suppose the server application will be > running...
0
346
by: chandu | last post by:
I have a project in which I need to send info to/get info from a RS-232 port of the server depending on the client clicks on a asp web page. How can I access a serial port from the ASP code itself. I tried to use MSCOMM... But it is not working. Is there any way to do this? As an alternative mechanism, we planned to shift all the communication related stuff to Visual C++ application which sits as a service in the Server and do the necesary...
1
3807
by: karpagam.c | last post by:
Hi, I'm working on a MFC application that is used to write application code to FLASH memory of a device. I'm using COM port for the communication with the device. For reading from and writing to the COM port, separate threads (along with semaphores) are being used. This application works fine if it is not minimized. But once if the application is minimized, it gives an error because some data is being missed out during communication...
4
3134
by: John J. Hughes II | last post by:
Can one application consume an event from another running application? I would assume this is what is happen when an application monitors lets say a port. I have accomplished something similar with remoting but find this to be a flaky and hard to implement for the user. The two applications with always be on the same computer. Regards, John
13
1342
by: Nak | last post by:
Hi there, In VB6 if I wanted to make a shared application so to speak I would create an ActiveX EXE. This would allow me to expose objects of the application but only have 1 instance loaded. What is the equivilent in VB.NET? Would I create a normal assembly that can be communicated with using remoting? or are there other ways? Thanks in advance.
35
2869
by: Michel Sanner | last post by:
Hello, One of the greatest feature of Python in my opinion is the way the interpreter can be used to integrate a wide variety of software packages by dynamically linking them. This approach has been extremely successful for us so far but now I run into a license nightmare. Some the libraries we wrapped using SWIG are under GPL but the applications we are distributing are not (mainly because
1
1818
by: hardikpatelmca | last post by:
Hi everybody, I want to create web application using C# and live communication server. User can set his presence information, view other presence information and send instant messages. How can I start developing in C# web application using live communication server? I doesn't want to use Communicator Web access. If you have any tutorial, then please provide to me. It is very appreciate if you provide some code example. I am beginner...
4
2137
by: nmsreddi | last post by:
Hi friends , after a long busy work happy to back to forums, i have developed a windows application(C#2,0) for serial communication. the aim of my application is to connect to external device(energy meter in my case) and have to get data from the that device . approximately the time to read complete data frfom meter is 10 minutes(may be more also up to one hour in some cases) ,during this time my application is not allowing...
0
1157
by: Dudeja, Rajat | last post by:
Hi, I'm learning Python to write a GUI application using Tkinter & Tk. I've evaluated Eclipse and Pydev. With the help of Fabio Zadrozny I successfully installed Eclipse and PyDev. Thanks. Now, I'm learning Eclipse and PyDev. And my problem is that I don't have an understanding of how the code in
1
1310
by: =?Utf-8?B?QW5kcmV3IFN0ZXdhcnQ=?= | last post by:
I’m involved in upgrading an existing project that is made up of multi functional units. For communication between each unit (RFI checking on deletion and data retrieval) in the past a single communication module had been compiled that referenced each functional unit. The communication module then was reference by each functional unit. The communication module exposed a very loose interface. E.g. if you wanted an address and you were...
0
8678
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8609
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9166
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8871
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6525
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5861
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4371
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4621
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.