473,802 Members | 2,015 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Communication between ASP.NET app and Windows Client app

Hi All

I have a requirement where the user clicks a button on the windows app. A
browser pops up. User enters some data in the browser. And I want the data
sent back to the windows app. How do i do this.

I see two issues here.

How would the client know when I am done with my Changes on the browser. We
thought we would some polling which is a bad idea. Any suggestions???

How do I send the data to the client. WCF is not an option for us. Sorry

Any ideas?

Regards
Jul 10 '07 #1
3 1291
you have really two optios.

1) polling a web service like you planned.
2) hosting the browser with your windows app. you can then catch
navigation events and read the dom.

-- bruce (sqlwork.com)

Sekhar wrote:
Hi All

I have a requirement where the user clicks a button on the windows app. A
browser pops up. User enters some data in the browser. And I want the data
sent back to the windows app. How do i do this.

I see two issues here.

How would the client know when I am done with my Changes on the browser. We
thought we would some polling which is a bad idea. Any suggestions???

How do I send the data to the client. WCF is not an option for us. Sorry

Any ideas?

Regards

Jul 10 '07 #2
"Sekhar" <Se****@discuss ions.microsoft. comwrote in message
news:2E******** *************** ***********@mic rosoft.com...
Hi All

I have a requirement where the user clicks a button on the windows app. A
browser pops up. User enters some data in the browser. And I want the data
sent back to the windows app. How do i do this.

I see two issues here.

How would the client know when I am done with my Changes on the browser.
We
thought we would some polling which is a bad idea. Any suggestions???

How do I send the data to the client. WCF is not an option for us. Sorry
You can pop up a dialog box hosting the Web Browser Control. You can control
it programmaticall y. That should help your windows application know whether
a particular button has been clicked in the browser, and even pick up the
data.
--
John Saunders [MVP]

Jul 10 '07 #3
Thank you.
Shall try

Regards
"John Saunders [MVP]" wrote:
"Sekhar" <Se****@discuss ions.microsoft. comwrote in message
news:2E******** *************** ***********@mic rosoft.com...
Hi All

I have a requirement where the user clicks a button on the windows app. A
browser pops up. User enters some data in the browser. And I want the data
sent back to the windows app. How do i do this.

I see two issues here.

How would the client know when I am done with my Changes on the browser.
We
thought we would some polling which is a bad idea. Any suggestions???

How do I send the data to the client. WCF is not an option for us. Sorry

You can pop up a dialog box hosting the Web Browser Control. You can control
it programmaticall y. That should help your windows application know whether
a particular button has been clicked in the browser, and even pick up the
data.
--
John Saunders [MVP]

Jul 10 '07 #4

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

Similar topics

7
2692
by: Dan V. | last post by:
Situation: I have to connect with my Windows 2000 server using VS.NET 2003 and C# and connect to a remote Linux server at another company's office and query their XML file. Their file may be updated every hour or so. How can I do this easily? I would like to use secure communication even encryption if possible. I would query and insert locally only the newest records found in that XML file to an xml or MS access db.
1
8592
by: alederer | last post by:
Hallo! I have the following situation: A db2 v6.1 client on AIX 4.3 (db2level reports U469703) and a OS/390 database version 6.1 . In some situations, I get the following error in my db2 CLI application: SQL30081N A communication error has been
1
9905
by: Jamil | last post by:
I have a target box connected to my desktop (x86 Windows 2000) PC through a serial cable (COM port). The target box running on different processor and OS. The target box needs to send a specific formatted data (2 bytes header + 128 bytes data) asynchronously through the serial port and I've to capture it at the host PC side and save those into a file. I like to have the client-server model. The PC will be a server and start a forever...
4
9327
by: Christian Westerlund | last post by:
Hi! Does anyone know if it is possible for a client server communication easy in .NET with these requirements: The client always initiates the communication The server only answers (responds) Uses port 80, skips firewall The server computer doesn't have a IIS or web server
4
2353
by: Sa¹o Zagoranski | last post by:
Hi! I'm writing a simple 3D First person shooter game. It is a multiplayer game, where all the players connect to one server.
5
8476
by: Brian Patrick | last post by:
I have an application model which will consist of a front-end configuration application, which needs to control the state of a back-end vb.net windows service (which is the component that does all the work). Think of this in the same manner as say microsoft management console and the w3svc (inetinfo) service. What should the standard communication protocol be between the configuration app and the service in this model? For example,...
5
15106
by: Rotzooi | last post by:
Hi, In the past I created a VB6 application that was capable of accepting multiple client connections for status logging over the internet using simple non-Windows clients (GSM/GPRS). There is one management console/monitor that receives messages and keeps track of keep-alive polling. The monitor created a new WinSock connection for each client that logged on. These were put into an array of controls. I'm sure this can also be done with...
2
2467
by: ne.seri | last post by:
In short, I'm building a kind of server which is supposed to handle open connections with clients. E.g. client connects to the server, the connection stays open, client sends a request to the server, server reasoned, and so on... The thing is that connection MUST always stay open. I'm using C++, and as for sockets, I'm using native syscalls, not MFC. I'm using stream sockets for communication. Another thing is that is should work both...
5
2424
by: Dara Durum | last post by:
Hi ! I want to create a Process Pool Object. I can hold started processes, and can communicate with them. I tryed with many ipc methods, but every of them have bug or other problem. Sockets are unavailabe (because Windows Firewall hold them). I think I will use pipe.
5
3179
by: AeonOfTime | last post by:
Let's assume a web application (in this case a browser-based game) with a custom HTTP server built on PHP, and a client also built on PHP. The client uses the server to access and change data. Even if the client server communication is not directly visible to the user (who logs into the client), the fact that the server is publicly accessible (a port sniffer would be enough to find it) means the communication has to be secured. How...
0
9699
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
9562
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
10538
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
10305
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...
1
10285
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6838
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
5494
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
5622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4270
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.