I thought I could load multiple projects in VB6 and use code from one project in another. But it appears that's not possible. I can create a project group with multiple projects showing and choose the startup project, but when I try to, say, declare a class variable of a class defined in the other project, intellisense is not working, telling me that it can't find the reference I'm trying to use.
Was I thinking of solutions as in VB .Net?
I know there are other options, such as:
- Include the code from the other project in the one I want to use it in
- Turn the project into a DLL and reference it in the other one
But I was hoping to keep my code modularized. I want to use a class in various projects that need the same functionality, without putting the code for that class into each project separately, so if I want to make a change I can do it in one place. I also want to keep this simple so there is no installation necessary, just a single .exe file to use. Adding a dll means I have to install and register it as well.
Any thoughts or ideas?
Was I thinking of solutions as in VB .Net?
I know there are other options, such as:
- Include the code from the other project in the one I want to use it in
- Turn the project into a DLL and reference it in the other one
But I was hoping to keep my code modularized. I want to use a class in various projects that need the same functionality, without putting the code for that class into each project separately, so if I want to make a change I can do it in one place. I also want to keep this simple so there is no installation necessary, just a single .exe file to use. Adding a dll means I have to install and register it as well.
Any thoughts or ideas?