-
February 17th, 2010, 01:15 AM
#1
Additional Project
Greetings,
I have added a new project within an existing project, it looks like, the modules,components,references and dataevenironment from the first project are not being shared. (cannot be used by the added project) can this be shared ?, is there any thing i mist.
thns
cyrus
-
February 17th, 2010, 01:20 AM
#2
Re: Additional Project
Not really, as any program could also access your data the same way.
-
February 17th, 2010, 08:33 AM
#3
Re: Additional Project
Cyrus, just read D's comment prior to the comma... or let me state that for you... If each project is a standard exe then the answer is no. If however, one of them is an activex project then this functionality for debugging is available to you. See debugging activex via your friends (yahoo, google, ask, answers, bing) or at MS or help files...
D, Huh? Perhaps, me thinks, read that again you should I mean really...
Good Luck
-
February 17th, 2010, 11:40 AM
#4
Re: Additional Project
Cyrus, if you have two projects in the IDE, you sure have a project group.
Still each project is individual and produces an own exe file.
If you want the other project to share a module or form or class of the first project, you have to simply add the file to the other project, too. Use Project->Add File... to add all files form the other project, too.
I think VB recognizes the multiple loading of a file and lets you make changes only to one of the instances, after that.
-
February 17th, 2010, 11:49 AM
#5
Re: Additional Project
I am pretty sure that WOF is correct, if you add the same file [e.g. same path and filename] to both projects then when the file is changed it effects both projects.
I actually use a folder under my main projects folder called common which has routines that are used by almost all of my projects. I find this works rather well with proper planning.
-
February 17th, 2010, 06:52 PM
#6
Re: Additional Project
Not to share DATA, though. One app wouldn't know what the other app was doing
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
|