View Single Post
  #1 (permalink)  
Old November 9th, 2004, 01:29 PM
Doldrums Doldrums is offline
Registered User
Join Date: Nov 2004
Location: , KS, .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Doldrums Send a message via AIM to Doldrums Send a message via MSN to Doldrums Send a message via Yahoo to Doldrums
Default Imports with .VB files

I am working with a project called "Portal" with a namespace of "Portal" at C:\Projects\Portal.

I also have some classes in a file at C:\Projects\Globals\MyCode.vb.

The MyCode.vb looks some like:

namespace "MyCompany.Globals"
public class Hello

  Shared public Function() As String
    Return "Hello World"
  End Function
End Class

End Namespace

How would I use the MyCompany.Globals.Hello class in the Portals project?

I've tried Imports MyCompany.Globals, but it says it can not find the namespace. Any help would be greatly appreciated!

Reply With Quote