Solved

How to connect two independent projects in vb

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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

707 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