473,386 Members | 1,785 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Can't find Namespace

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
2 1434
Are they nested classes & have you added your library to the references?

Crouchie1998
BA (HONS) MCP MCSE
Nov 21 '05 #2
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Michal Januszczyk | last post by:
I have a very simple XML document. <SmtpGatewayRules xmlns="http://www.foo.com/schema.xsd"> <rules> <rule> </rule> </rules> </SmtpGatewayRules> When no xmlns is specified I can find rule...
3
by: Poewood | last post by:
Okay here are four classes for a pocket pc program: Input, fpositional, ComboBoxArray and TextBoxArray. The "input" class is the form. I use the fpositional class to handle most of the functions...
2
by: tshad | last post by:
I have a DLL in the bin folder of my Web Application. When I try to build it, it says it can't find it. Here is the beginning of my Class: ...
0
by: Ian Lazarus | last post by:
Hello, A call to std::basic_string<wchar_t>::find(...) from within a class library is not working as expected. The value passed to find is 0x61, but the value it receives is 0xE961. What's...
16
by: TT (Tom Tempelaere) | last post by:
Hi all, I created an XSD to define the structure of an XML file for my project. I made an XML file linked to the XSD using XmlSpy. The problem is that if I read the file using .NET XmlDocument...
10
by: Miro | last post by:
I wanted certain text boxes ( only certain ones ) to always be Trim'd so that spaces are not in the begining, nor the end of the text entered. I created my own "Handle ?" - i hope thats the...
1
by: vncntj | last post by:
I have this class file within the App_Code folder CorrectionsDB.cs namespace CorrectionsDB.cs { using System; using System.Data; using System.Configuration; using System.Web;
1
by: ThunderMusic | last post by:
Hi, I have many classes a user may need to call methods on my webservice. Some classes are "published" and some are not... I mean, when we do a Web reference from another project, we don't have...
5
by: lukasmazur | last post by:
Hi I have a problem with using listBox1. I have a two forms form1 and form2. In form1 are controls listBox1, textBox1 and button witch creating object of class Form2. In class Form2 I create a...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.