By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,889 Members | 1,258 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,889 IT Pros & Developers. It's quick & easy.

Can't find Namespace

P: n/a
Hi Everyone,
This one may be a simple one, but here it goes. I have two assemplies and
I'm trying to declare some of the classes in the second one. For example:
Assembly 1:
'Have already set the reference to the other Assembly
Imports FormBuilder.FormBuilder
Public Class Class1
'Trying to Implement one of the Interfaces in the other Assembly
'Implements FormBuilder.FormBuilder.IFormProcessing

End Class

There are about 6 other classes in Assemby2 that can't be found. All public
classes.
Assembly 2:
imports System.Windows.Forms
NameSpace FormBuilder
Public Class frmBaseBuilder
Inherits System.Windows.Forms.Form
#Region " Windows Form Designer generated code "
....
#End Region
'Other code for form'
End Class
NameSpace FormBuilder
Public Class IFormProcessing
Sub Save()
End Sub

Sub Update()
End Sub

Sub Delete()
End Sub
End Class
End Namespace

Now, for example, I am trying to get to the IFormProcessing interface in
Assembly 2, but when I try to implement the interface the only available
items in the list are:
FormBuilder.frmBaseBuilder
None of the other classes or interfaces I have will show up in the listing.
Why can't the compiler find the other interfaces in the Assembly. Thanks for
any info.
Michael

Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Are they nested classes & have you added your library to the references?

Crouchie1998
BA (HONS) MCP MCSE
Nov 21 '05 #2

P: n/a
Hi Crouchie,
I have added a reference to Assembly2 in Assembly1. There are no nested
classes in my project. So far each class in the libray is in its own file
(.vb) with the following namespace added:
Namespace FormBuilder
No other namespaces are declared within the files in this library.
Michael
"Crouchie1998" wrote:
Are they nested classes & have you added your library to the references?

Crouchie1998
BA (HONS) MCP MCSE

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.