devxlogo

How to Use Some Variable in 2 EXE Programs

How to Use Some Variable in 2 EXE Programs

Question:
Can you to tell me how to use a variable in other VB projects; i.e.,how to use some variable in two EXE-compiled VB projects?

Answer:
Because of the way Windows allocates memory, this is a fairly difficult and somewhat dangerous thing to do. An easier method is to use either a text file or the system Registry. If both applications read the same data from a file or a registry key, it’s similar to sharing data without the danger of damaging each others’ memory blocks.

See also  How HealthStream Learning Center Supports Healthcare Education and Compliance
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist