Solved

How to connect two independent projects in vb

Posted on 1999-01-25
2
1,019 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
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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 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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

770 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