?
Solved

How to connect two independent projects in vb

Posted on 1999-01-25
2
Medium Priority
?
1,031 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
rondeauj earned 80 total points
ID: 1470497
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
ID: 1470498
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…
Suggested Courses
Course of the Month9 days, 9 hours left to enroll

762 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