[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to connect two independent projects in vb

Posted on 1999-01-25
2
Medium Priority
?
1,036 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 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month18 days, 10 hours left to enroll

834 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