473,387 Members | 1,516 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,387 software developers and data experts.

Windows Service which will display a Form

Hi Friends
I want to develop a windows service application, which will open a port on
the machine and constantly it will listen from that port. And when any data
comes to that port I want to display a Form with the data that has been
receieved by the port. So plz guide me to do that.

Can it be possible to display a form when any data comes to that port ????

Mr Utkal Ranjan, New Delhi.
Nov 20 '05 #1
1 1568
Do you want someone to write the code for you? How about you get started and
then post more focused questions instead?

Showing a form from a service is not recommended, but it's possible. The
service has to be marked as permitted to interact with the desktop. The SDK
and VS.NET come with examples of how to do this, and also of how to use the
System.Net classes (such as TcpListener) to manage a socket and
corresponding port(s).
--
____________________
Klaus H. Probst, MVP
http://www.vbbox.com/
"Mr Utkal Ranjan Pradhan" <ut*****@hotmail.com> wrote in message
news:OC**************@tk2msftngp13.phx.gbl...
Hi Friends
I want to develop a windows service application, which will open a port on
the machine and constantly it will listen from that port. And when any data comes to that port I want to display a Form with the data that has been
receieved by the port. So plz guide me to do that.

Can it be possible to display a form when any data comes to that port ????

Mr Utkal Ranjan, New Delhi.

Nov 20 '05 #2

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

Similar topics

7
by: Lalit | last post by:
Hi Friends, I have developed a Windows service. Now i need icon for this service in systray and context menu fo this icon. Can i do this? With regards, Lalit
2
by: Mustafa Rabie | last post by:
Dear All, i have a web application that registers my users to my site, i have a SQL backend and a webservice to interact with SQL. I need to write a WINDOWS FORMS APPLICATION using C# to...
7
by: lvpaul | last post by:
Hallo ! I am using IIS-Windows-Authentication in my intranet (web.config <authentication mode="Windows" /> <identity impersonate="true" /> How can I get the users (client) IP-Address ? I...
3
by: Gary | last post by:
I am using VS.Net 2002 with windows 2000 advanced server and windows 2000 professional. I have a requirement to use windows service with a GUI. I want to show my own User Interface(Dialog) to get...
3
by: Mr Utkal Ranjan Pradhan | last post by:
Hi Friends I want to develop a windows service application, which will open a port on the machine and constantly it will listen from that port. And when any data comes to that port I want to...
1
by: RaggiHolm | last post by:
I am writing a service that I want to be able to display "debug" information on a desktop window. I have the following code that displays the form (when service is properly set up) and the service...
3
by: Rob R. Ainscough | last post by:
I have a Windows Service with a timer that use the .NET 2.0 Shell command. The Shell command returns a non-zero number but Task Manager shows the shelled exe running but there is NO visible...
3
by: sonu | last post by:
Hello all, I am trying to develop an application which will run as a windows service. The application should have Normal options available with service like start, stop and pause but along...
3
by: IsRaEl | last post by:
Helly guys... Anyone know's how to call a Form from inside a Windows Service Project?? Thanks in advance...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
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
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...

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.