Re: how access a frm in project_B from project_A which contains pr
by Phill W. on 11/1/2007 1:09:00 PM
Rich wrote:
> Thanks. I was trying Imports Project_B.custNamespace
> but got a message that there were no public members. Yes there are!
> I will try the Reference approach. That should do it.
All "Imports" does is to save you /typing/ in your own code.
These are equivalent:
(1) Dim sMethodName as String =
System.Reflection.MethodBase.GetCurrentMethod().Name
(2) Imports System.Reflection.MethodBase
Dim sMethodName as String = GetCurrentMethod().Name
Imports doesn't "get" you anything that you didn't have before, like
access to classes and methods defined in a.n.other assembly.
For that, you /have/ to use References.
HTH,
Phill W.