473,734 Members | 2,764 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 1233
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
5345
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
3813
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
3136
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
1344
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
2889
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
1820
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
2140
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
8776
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
9310
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6735
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
4550
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
4809
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3261
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
2
2724
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.