Solved

How to connect two independent projects in vb

Posted on 1999-01-25
2
1,013 Views
Last Modified: 2008-01-09
This may sound silly, but I've two independent applications both developed in visual basic 6.0. In both the applications i have same global variables and these variables are extensively used in these applications. Now is there anyway I can merge these two projects into one without changing the variable names in either one of them.
0
Comment
Question by:VBLearner
2 Comments
 
LVL 1

Accepted Solution

by:
rondeauj earned 20 total points
Comment Utility
Open one of your apps.  from the project menu choose add exe this will create a group project and join both your apps
0
 

Expert Comment

by:JoeyBrenn
Comment Utility
If these variables are the same and mean the same in both programs, then you can do as suggested by rondeauj.  Otherwise, you will have to do a global search and replace on one of the projects and then add the two projects together.  If you do not want separate exe's (which the group project will create) then you will have to import the forms and modules and classes separately into one project (I suspect this is what you want.)
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now