|
-
August 15th, 2001, 09:51 AM
#1
Include or Exclude Modules for Compilation
Hi,
I have a VB Project created with various Modules. The same project needs to recreated again and again (for different companies) with slight modifications to some modules. Can I create one single project with different modules, so that I could apply the changes, fix the bugs in just one project than so many? If I do that, Will I be able to compile the project depending on a global variable which will define which modules should be included/excluded in generating the executable?
-
August 15th, 2001, 10:18 PM
#2
Re: Include or Exclude Modules for Compilation
You could use "conditional compilation". See the VB help topic about how this works. Another way to include/exclude entire modules is to create multiple PROJECTS. A project is nothing more than a bunch of file pointers to various forms and modules. Lets say you have PROJECT1 and PROJECT2; they could both include the same MODULE1. When you make a change to MODULE1 in PROJECT1, you're also changing it for PROJECT2. Some modules could be the same across all projects and some could be different.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|