newbie Namespaces question

  • Thread starter Thread starter Shane Story
  • Start date Start date
S

Shane Story

We have a solution as follows

PROJ1 (WINSERVICE)
PROJ2 (SVC MGR)
PROJ3 (CLASS LIB) --DLL OF COMMON THINGS

We want to have namespaces such that we can say

Imports OurCompanyName.Something

We set the root name spaces of each of these projects to our company name.

Then we put

NameSpace Something
End NameSpace

in the module and class files.

After reloading we were able to add a reference in the service to the DLL
and then do the imports.

However, although the class modules show up,

none of the stand module code--although public methods--are found.


Any ideas?

Thanks,

Shane
 
Shane Story said:
[Reference to other assembly]

none of the stand module code--although public methods--are found.

Make sure the module's modifier is set to 'Public'. If it's omitted, the
default modifier 'Friend' is used and as a consequence the module is not
visible to other assemblies.
 
Thanks

Herfried K. Wagner said:
Shane Story said:
[Reference to other assembly]

none of the stand module code--although public methods--are found.

Make sure the module's modifier is set to 'Public'. If it's omitted, the
default modifier 'Friend' is used and as a consequence the module is not
visible to other assemblies.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Can't load assemblies in IDE 6
Namespace Question 2
Namespace confusion 8
Use of NAMESPACE 1
Namespace around API calls 4
Namespace syntax question 2
Namespace Question ... 4
Global Enum question 1

Back
Top