Link to home
Start Free TrialLog in
Avatar of PNRT
PNRT

asked on

VB.Net Tranfer data between to VB.Net apps

Hi Experts
I have two VB.Net apps.  They cannot be combined and must be written as two separate apps that will run on the same machine (Don't ask!!)  I need to transfer about 1000 lines of text data from one app to the other.   Currently I am creating an xml file in the first app, having the second app read the xml file and then delete it.  But this seems a bit clumsy.   Does anyone know of a better way?  Is there perhaps a way of getting the data into memory that the second app can access?   Any suggestions would be appreciated
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

But this seems a bit clumsy.   Does anyone know of a better way?
can you try a database? it will meet your data security and accuracy, integrity issues.
Avatar of PNRT
PNRT

ASKER

Thanks Ryan, but this seems to be going in the opposite direction than what I hoped.  I was hoping there was a way of doing it without documents? After all the xml is just being deleted afterwards any way
ASKER CERTIFIED SOLUTION
Avatar of darbid73
darbid73
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Here are some examples on the pipes options from microsoft.  I have not used them I just googled them for you.

How to: Use Named Pipes for Network Interprocess Communication

How to use named pipes for interprocess communication in Visual Basic .NET or in Visual Basic 2005
Avatar of PNRT

ASKER

Excellent - Named pipes is the way to go I think.   I should have thought of it myself.  Thanks,
Avatar of PNRT

ASKER

Thanks Eric.  When I mentioned adding and accessing the data to memory, this was more what I had in mind and this seems like a perfect solution and simple.  Is there a way to award extra points here?
no way to award extra points. But I wasn't doing it for the points!