We help IT Professionals succeed at work.
Get Started

communicate between two .net programs

Last Modified: 2012-05-11
Hello Everyone,

I have a Windows Form Application which has been developed in .net 3.5. The language used to develop is VB.NET. It a charting program and shows stock market charts to users.

Now I have made another program in vb.net (same .net version) and I want this program to interact with the one I made before. The new program is like a small scripting language. So for example: if i run a script then its output should be reflected in the other program. How can the two programs communicate ? Both will be running on same systems. No remote stuff.

Plus I have several functions which are written in first program. Is it possible for the other program which is an .exe also to call the functions of the other one if I make sub/function public or something. The reason is we can calls functions or subs if we include a dll. But can one exe calls functions/sub of another exe (if both program are in .net).

I will be glad if anyone can help me out.

Thank You,

Watch Question
This problem has been solved!
Unlock 2 Answers and 23 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE