Wrox Home  
Search P2P Archive for: Go

  Return to Index  

dotnet_windows_app_design thread: Interprocess Communication - Help needed


Message #1 by "Jae Hou" <jae@s...> on Fri, 10 Jan 2003 16:25:04
message queueing might be a good solition.  Place a message on the intern
et
server, have the vb.net app listen on the queue. 


>-- Original Message --
>Date: Fri, 10 Jan 2003 16:25:04
>From: "Jae Hou" <jae@s...>
>To: "Application Design for Windows Desktops" <dotnet_windows_app_design
@p2p.wrox.com>
>Subject: [dotnet_windows_app_design] Interprocess Communication - Help
needed
>Reply-To: "Application Design for Windows Desktops" <dotnet_windows_app_
design@p...>
>
>
>Hi all, I have a general application design situation and any input woul
d
>
>be greatly appreciated.
>
>Background:  We have written a VB6.0 windows application running on each

>
>terminal of a peer-to-peer network.  It is an Order Entry application.
 
>Only 1 machine on the network has access to the internet.  
>
>Design requirement: When an order is taken on a workstation, it is saved

>
>on that machine.  It then must notify a "process" running on the interne
t-
>connected machine that an order has been completed - passing the OrderID
.
> 
>This "process" takes the OrderID, generates the Order XML and sends it
to
>
>a website via HTTP.  This is all done so we can view real-time reports
on
>
>the web-site.
>
>The VB6.0 application must remain a vb6.0 app (for the time being).
>The process of generating the XML and sending it to the web-site has 
>already been written...using VB.NET.  
>
>The Problem: How can I get the communication between the 2 processes 
>working?  I have thought about using a Windows Service - but can I 
>reference a Service running on one machine from another on the network?
I
>
>have also thought about just creating a text file in a folder on the 
>internet-connected machine and have the 2nd process just monitor the 
>folder.  I have also thought about using WinSock to notify the 2nd proce
ss
>
>of an Order.  The 2nd process should not use a timer but should be 
>triggered by an event.
>
>I am just not sure how to effectively complete this module.  Any 
>input/suggestions would be much appreciated.  JH.
>to unsubscribe send a blank email to leave-dotnet_windows_app_design-134
4968Q@p...

Greg Robinson
www.scribblesoftware.com

Read my blog: http://dotnetrocks.blogspot.com/


  Return to Index