I wrote a windows service in C# that does some functionality (a public method) after reading a file at regular intervals. Is it possible for me to use this functionality from another C# application ? If possible, please give a solution based on .net 2.0 as well as .net 3.0
Thanks
...
hi there,
i do have a communication probleme here between my java servlet and an ajax request. more about it:
Absolute path to the index.html (including javascript/ajax request):
http://localhost:9080/chat/index.html
In the same folder the servlet:
MyChat.class
And the Request is working like this:
var url = "http://localhost:9080/...
Hi all,
I am reading data from multiple serial ports. At present I am using Custom signal handler (by setting sa_handler) to compare and wake threads based on file descriptor information. I was searching for a way out to have individual threads with unique signal handlers, in this regard I found that select system call is to be used.
N...
I am finding that the difficulty I have expressing my ideas is making it more difficult than it should be to work with other people, even other developers. How can I learn to express my thoughts and ideas clearly and concisely?
...
Hi,
I'm having a problem with the XML-RPC communication.
I have a XML-RPC Client made in Java with Apache XmlRpc and a XML-RPC Server made in PHP with PEAR's XML_RPC. The problem is that i get a "HTTP server returned unexpected status: Not Found" error. I tested the server with a PEAR XML-RPC Client and it works. I don't know what is th...
The single most effective thing I have done to improve my soft skills is to take an acting class.
What is the single most effective thing you have done to improve your soft skills?
Related questions:
What is the single most effective
thing that you have done to improve
your programming skills?
Advice
to improve programmer communica...
I have got a Wavecom Supreme GSM modem. I wrote a simple application that communicates with the modem and reads text messages it receives.
My application queries the modem for information about the number of messages it stores in its memory and if the number is greater than 0, it reads the messages deleting them from the modem's memory....
Hi I have the need to find the Baud rate and other settings for a serial port, Looking about on the web, it looks like I should be using GetCommConfig, This returns a TCommConfig record with what I assume is the data I need. The problem is the function I wote returns the wrong values.
The code below looks like it is working, but the bau...
I have a simple ajax game between 2 users with java backend (tomcat, spring). I need some good way of notifying one user that his opponent made a turn. Now all communication is done through database and waiting for opponent to finish his turn looks like this:
while(!timeout && !opponentIsDone) {
//...get the game record from db and...
Hi all,
I am using select call to communicate with an external subsystem (protocol for the same has been provided and implemented as a Qt thread) using serial port RS232. We do not have the hardware for the external systems and thus we have developed in house simulators using .Net 2.0 and C# to mimic the behavior of the underlying subsy...
Is it a good idea to use sockets to send data between two servers, or should I use something like MQ for moving data.
My questions: are sockets reliable, if I need once only/assured delivery of the data?
Are there any other solutions?
Thanks.
...
I'm programming a solution that requires parsing some data sent to a printer that is attached to a serial port. It's only reading, I don't need to interfere with the communication, but I need it to happen real time...
I've searched around and found nothing that allows me to do this kind of stuff using the language i'm programming the so...
Imagine you have a channel of communication that is inherently lossy and one-way. That is, there is some inherent noise that is impossible to remove that causes, say, random bits to be toggled. Also imagine that it is one way - you cannot request retransmission.
But you need to send data over it regardless. What techniques can you use t...
Greetings.
I'm trying to communicate between desktop PC and Windows CE 5.0 device connected by usb (cradle).
I feel like I'm missing something obvious, because I can't find how to establish connection between them. What namespace to look? I just want simple communication: connect, exchange some data, disconnect. Sockets are more then e...
Recently I have been debating on the best way to handle communication up the chain in n-tier architecture.
Currently the methods I am doing is throwing and handling exceptions between layers for errors, and using events/delegates for other communication (to update progress bars and such). Are these the best way or is there another metho...
How can a C# app easily communicate with an instance of itself present on another computer, which is on the same network, and transfer files and data?
Assuming the computers on the network have fixed local IP addresses, and they each know each others IPs. Would there also be a way to communicate if the IPs are unknown? based on some dis...
Before you start working on a software project how do you show your employees your prototype. Most people either draw it on paper or write it on a whiteboard. How would you show it to your employees who live far away? Do they just take a picture of it or fax the paper to them? or do people just use a website not to draw there prototypes...
I am developing a library for serial communications with an FPGA via RS-422 port. This library is part of a bigger project.
I know I can test some parts of it, as the message generation. You set the inputs, and you can test if the array of bytes match the expected one. But, what if I wanted to make a more general test, how could I gener...
Our company keeps debating on whether we should be using custom API DLLs or creating a web service farm to have our programs to communicate data between themselves. To me web services make the most sense in regards to compatibility and flexibility of upgrading, but I have heard some good reasons to use DLLs as well.
Is there an emerging...
Hi,
I have developed a application which involves billing users. To do this i have incorporated a GSM modem (gateway) that the SMS messages are sent through. This SMS message is sent to the user when he is billed with the bill details. The GSM modem is connected to a single computer but the billing can happen in other systems. How do I s...