Ok...well, i convereted convereted project B to a Library.
Now when i go to launch B it needs an exe.
So this would be a good time to explain this project further.
There are actually 3 projects. We are converting to .Net from VB6.
I have the three converted to .Net, but i need to test them.
So lets call them A B and C.
A will create some number, x, of references to B.class. For every B.class
that is instantiated, C.class is instaited also.
Part of the delima is that A is running as a service and uses a third party
control that requires A to be a .dll and in order for A to be run in the
debug env., it must launch an external .exe.
So A is pretty much untouchable.
So in order to launch B from A, i would need to put B as a .dll. But in
order to run B in the debug env.as a .dll, i need to have it launch an
executable. So my only option is to launch C.
So I run C in the debug env.
Then I set B to launch C as an external exe.
Then I run B and it launches the compiled version of C, not the debug env.
So theoretically A can be left out for now, but i left it in here hoping it
would help you to see the dilemma i am in.
I know this is complex and can be hard to understand, but i have done all i
can think of. I have been working on all these steps for a good 12 hours
now. I figured i would start off with a basic question and go from there.
So now, i feel i must give the details.
I would greatly appreciate any help i can get on this. Even if it is to
tell me that what i need to do is impossible.
Thank you,
Paul
"Herfried K. Wagner [MVP]" <hi*******@m.activevb.de> wrote in message
news:Ou**************@tk2msftngp13.phx.gbl...
Hello,
"Paul" <pa**@gotheta.com> schrieb: I have two VB .Net solutions (call them A and B). They are
both Windows Applications. One of them (B) has a class
(B.class) that i need to reference from the other project (A).
So my question is this. How do i reference B.class in the IDE
debuginng enviornment from project A?
You can only reference Libararies, not Windows Forms applications.
--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet