[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 257
  • Last Modified:

Exchange data between 2 vb exe's

How do I EASILY Exchange data between 2 vb exe's?
0
SiriusP
Asked:
SiriusP
  • 2
1 Solution
 
viktornetCommented:
use mapped files...

look up CreateFile() windows API...

..-=ViKtOr=-..
0
 
SiriusPAuthor Commented:
I need a simple explaination and prefer not to use libraries for this one
0
 
Jaysin28Commented:
You use the Command line arguements to pass information from one exe to another.

Or a simpler approach would be to use a file like an ini file only you would store the information that you want to pass in there.  It's rather easy and it's only using 2 API functions which if you accept my answer I will provide you with a ready made Module that already has the functions made for you.
0
 
viktornetCommented:
in order to use command line arguments, you gotta close and start all over again the application that receives the information.... this is not a good solution at all....

using an INI file is reasonable, and I think that's what you should use if you don't know how to deal with mapped files, and using Win API....

..-=ViKtOr=-..
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now