Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Sep 18, 2000

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.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date