connect web app to windows app

Hello folks.

i want to connect web application( to desktop application and transfer data but when some events triggered from user web browser. (for example live support packages)

i know it can be done in win applications with sockets but I'm not sure for applications.

Any advice/help greatly appreciated.


2/1/2007 2:58:45 PM 93655 articles. 6 followers. Follow

5 Replies

Similar Articles

[PageSpeed] 27

oh, no body knows?

2/3/2007 7:26:10 AM

It is possible to wire into events on the client, but this is outside the scope of ASP.Net. 

Presuming your Desktop APP is a dotnet app this is a Windows Forms question, consider posting here

Other approaches are including a web browser in a Win Forms app and capturing the events - user and others - to execute code within the app such as retreiving data from webservice or providing services unavailable to a general web page such as full file system access etc.

Sometimes the web page (web site) will only be valid when viewed within the Custom Desktop App, it depends on what you are really trying to do, but I belive this is the wrong forum.




For the benefit of all users please mark any post answers as appropriate.
2/3/2007 11:59:09 AM

thanks for your reply but I think i misdescribed my problem.

let me explain my problem in this way: i have application runing on remote server ( assume chat app but doesn't really matter ) , when user send his/her message ( data ) i want my program connect to my windows program ( also in dot net ) and send its data to it. but my problem is i don't know by what method i must connect and send data. i know i can get data from web services but i don't think it's efficient to check for new data every seconds.

i hope i described my problem correctly.


2/3/2007 6:37:51 PM
according to my understanding, the architecture of your application is the windows application will run as the server and the app will run as client. So that the windows app doesn't need to check the datasource periodically.
Here are some possible solutions:

1. .net Remoting
2. Socket
3. FileSystemWatcher:
The app write the data into a file been watched by the Widnows app, then win app can detect this with FileSystemWatcher and reads them in.

Hope it helps.
2/5/2007 3:56:06 AM
Thanks for your answer, i think that's what i need.
2/11/2007 8:36:04 AM

Similar Artilces:

conver a windows forms app into a aspx web forms app
Hi, i remember reading somewere that a windows forms application can be "translated" to web forms application in .Net. ¿Is that true?. ¿How can I do it?¿does it work in visual studio 2003? Thanks a lot! Mikel There is no automatic wizard that will convert an ASP.NET app to WinForms, or a WinForms app to ASP.NET.  However, a number of the concepts are similar between the two models and you will be able to re-use all of your non-UI specific code.  The broader .NET Framework class library is also the same.Hope this helps you  If y...

Web app and Windows Forms app
I've done a lot of .NET web development, but I'm trying to write a Forms App.  I'm trying to populate a GridView Control with a simple "SELECT *" query, but I'm not having any luck.  I keep getting this error:"An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections." I enabled remote connections on my SQL Server, then as a test I built a local web app that conne...

Determining if an app is a web app or a windows app
Hi all,  I'm writing a generic utilites class and one of the methods needs to get the physical path of the application. I know Server.MapPath("~") gets the server path of the app for windows and also that Application.ExecutablePath gets the path for windows app. Now how would i determine which app is a windows app or a web app?   Thanks in advance. add a reference to system.web and then do the following  if (System.Web.HttpContext.Current == null)            {       &...

convert java web app 2 .NET web app
Hi, i am able to convert java console app to .NET console app.but i am unable to convert java web based application to .NET web based application. can u give me some idea as to how to convert that. Thanks in advance,nizam. I believe the technical phrase is.. rtfm?  lol.  you're going to have to do it the hard way.  JSP operates on a different theory of web development than 2.0Kay - Code to live, but Live to code. Try these two links for sample code and free book from Microsoft, ...

Calling local client apps via web form/web app.
Hello all,I am not sure if this is the correct area to ask this, so excuse me ifI posted in wrong area. I'm a bit of a newbie to this but I was wondering if I can call a local app. via a web application.  A friend suggested looking into ActiveX controls, but I am not familiar with them.  Also what other alternatives are there beside using ActiveX? I read about using Flex and Applets but again I don't know which would be my best option and what kind of security issues I may be dealing with?  If anyone can inform me or suggest a reference or book I would appr...

Web Apps vs. Web Sites (was: Universal Navigation for Web Apps)
On Wed, Mar 14, 2012 at 12:58 PM, Justin D'Arcangelo <>wrote: > there needs to be a differentiation between > web sites and web *apps*. > While we might be able to describe characteristics that conceptually separate a "web site" from a "web app", I think in reality they will exist on a continuum. Chris Jones is right that we need more data from actual app developers on this, but I can provide some anecdotal evidence by telling the story of a web app I worked on which got listed in a web app store. I worked on a web-b...

Web app to Windows app.
I’m new at this so please bear with me. In theory, is it possible to create a .net web application that can talk to a .net windows application? What I would like to accomplish is to use a .net web app to talk to Microsoft’s Windows Media Batch Encoder. Any comments are appreciated. Tome...

VB.NET Data Grid, windows app to web app
Is it possible to make a Web Application Data Grid element with identical functionality as a Windows Application Data Grid? When I run the code as a windows application, it allows me to make direct edits of each database record through the data grid. When I run the code through a browser, however, it only displays the records. This is the code:Any suggestions? Inherits System.Web.UI.Page Dim connstr As String = "data source=SERVER;initial catalog=DB;user id=USER;password=PASSWORD;" Dim sqlStr As String = "SELECT * FROM Users" Dim dt As New DataTable Private Sub btnLoad_Click(B...

How to use a web user control from one web app in another web app?
I have a production web app project (at work) that has custom web user controls in it.I have another web app project for experimenting and I want to use some web controls from the production web app. The big trick is that I need to load the controls dynamically.LoadControl() doesn't seem to work - it complains about loading controls from a different application. I also tried adding a project reference to the production web app and using "UC1 newUC = new UC1();" and then "this.Controls.Add(newUC);", but the controls (like TextBoxes) on the web user control don't seem to exist on the new UC1s....

Regular web app or Mobile web app.
Im targeting PocketPCs only (w/PocketIE). I changed the web.config to cookieless="true" and placed buttons with events. Im getting the postbacks and everything looks good so far... Can we just use this intead of the mobile web app project? Whats the difference? Duke You can use either a regular Web app or a mobile app, presuming you are targeting ONLY Pocket IE. Pocket IE accepts HTML.Starting with ASP.NET 2.0? Look at:Programming Microsoft Web Forms My Blog...

Web app called by windows app...
Hey everyone,Well I have not worked with .Net at all regarding windows apps etc. What I have is a website with a secure login. My customer wants all his employees to access the secure site without knowing the user name and password, as there is a high turn over rate. Is there a good way to accomplish this?My thoughts were possibly to create a windows app they could download and execute which would basically pass encrypted parameters to our secure login page, therefore logging them in and no one being the wiser.Is this poosible?Is there a better way?Hope I explained it well!Thank youJorellz...

Web app calling a windows app
How do I get my web app to open a windows program on the server side using a button click evenT? First off you'd have to give the ASPNET user execute priviledges on the server which I don't think that you want to do.NC... Hi,If the windows Program is of exe format then try with the following codeTry to include the exe in to your web folder or the ASP.NET process needs to have permissions to access the external applicationstring filePath = Server.MapPath(@"ApplicationName.exe"); System.Diagnostics.ProcessStartInfo info = new System.Diagnostics.ProcessStartInfo(filePath , "Arguments of th...

running windows apps in web apps
Hi all, just to check it out if there is a way to run a windows app when a button in a web app is clicked.? Hi, you're referring to what's known as smart clients. You can place a windows forms executable in the virtual folder of your webserver (IIS of course ), then create a hyperlink in your webform to the executable. If the enduser has the correct .NET framerwok installed he/she can execute the application on his/her pc. Another trick, one I recently used BTW, is to embed a winforms user control, build as .dll file, in a webform. An example can be found here: Hosting a Windows Contr...

How do I merge web services' app.config with web app's web.config? Help!!
I have a web application project that uses a separate class library containing web service references (service layer). I want to be able to configure the web reference URLs dynamically and I know you can set this up by setting the URL behavior to  'Dynamic', etc, etc. The problem is VS2005 puts the URLs in the project's app.config file. When the class library becomes a DLL component, I have no way of accessing the app.config file.Is there a way to make the web reference project to look for the URLs in the web.config instead of its app.config? Or is there a way to merge this app.config w...

Web resources about - connect web app to windows app -

First Capital Connect - Wikipedia, the free encyclopedia
( FCC ) is a British train operating company , owned by FirstGroup , operating the Thameslink Great Northern franchise . FCC operates passenger ...

mobile photography technology, culture and community News Reviews Features Phones Tablets Cameras Apps Forums Mobile photography ...

CloudCraze Connects Consumers To Facebook Brands Via Cloud Technology
Brands on Facebook are always looking for new, efficient ways to connect with customers . CloudCraze, which recently released its 3.0 e-commerce ...

Apple celebrates App Store records as it notes iTunes Connect’s usual holiday break
Apple has posted the dates of the usual holiday shutdown of iTunes Connect , running for eight days from 22 to 29 December inclusive. During ...

FishbowlNY Newsstand: Connect The Dots
FishbowlNY Newsstand: Connect The Dots

Apple announces Dec. 22-29 holiday closing dates for iTunes Connect
Apple has announced the dates for the annual holiday shutdown of iTunes Connect. As in the previous year , Apples developer portal is scheduled ...

App connects seniors across the globe
The start-up behind the app raised $1 million in its first six months and has grown to serve a global user base of 25,000.

Ford announces Sync Connect smartphone app
The app works with Ford's new embedded modem, first arriving on the 2017 Escape, to bring vehicle functions to the owner's smartphone, no matter ...

Uber Launches Service To Help Drivers Connect With Passengers On Their Route
Between offering taxi, private car and rideshare options, Uber seems to have a service to meet just about every users’ transportation needs. ...

Ford's new Sync Connect app lets you remotely start your car
How do you know that app-connected cars are going to become the norm rather than the exception? When Ford decides to get in on the action. The ...

Resources last updated: 11/27/2015 10:14:06 PM