Board index » Visual Studio » Can I reference another project in the same group?

Can I reference another project in the same group?

Visual Studio67
Hi, dear all



I was redesigning a VB group application, adding a functionality that most projects should use. I tried to code the functionality in a new project and referenced it in the old projects, and failed. Is it an odd idea and VB never supports it ? Maybe discussion would be valuable



Best regard fro

Wayn

Guangzho

China


-
 

Re:Can I reference another project in the same group?

=?Utf-8?B?V2F5bmU=?= wrote:



Quote
I was redesigning a VB group application, adding a functionality that most

projects should use. I tried to code the functionality in a new project and

referenced it in the old projects, and failed. Is it an odd idea and VB never

supports it ? Maybe discussion would be valuable.







There is no such thing as "a VB group application"



VB permits multiple projects in a group so that you can work on them together,

but there's never been any facility for compiling them together.



You *can* share source files though. I get a warning message now and then if I try

to open an edit window on a source file when there's already one open on the same

source file but from another project in the group.

"A copy of this file which might have changes is already opened."







Bob

-

Re:Can I reference another project in the same group?

Wayne,



VBG files are simply a way to group two or more vbp files together for

easy editing. When it comes to sharing data between two projects in a

single IDE (vbg file loaded), the vbp file that is sharing data, or being

called, must be an ActiveX DLL. Remember ActX DLLs are in-process

components, meaning they can be debugged in one IDE with another

application. If you wish to share data or call an ActX EXE, you must open a

second IDE because they are out of process. Hope this helps.



Chris



"Wayne" <anonymous@discussions.microsoft.com>wrote in message

Quote
Hi, dear all.



I was redesigning a VB group application, adding a functionality that most

projects should use. I tried to code the functionality in a new project and

referenced it in the old projects, and failed. Is it an odd idea and VB

never supports it ? Maybe discussion would be valuable.

Quote


Best regard from

Wayne

Guangzhou

China





-

Re:Can I reference another project in the same group?

Chris



Oh, what a supernatural way u showed me! You gave me inspirations. Thank you



Regard fro

Wayn

Guangzho

China

-