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

Form in project does not detect custom classes

P: n/a
HI

I'm developing a desktop application in Visual Studio 2005
Professional and need help.

I've created several custom classes for my project but they appear
invisible to my forms!!!

For example I create the following class -

Namespace BLL

Public Class Building
Inherits BizObject
Implements IFolderItem

Private _name As String
Property name() As String Implements IFolderItem.name
Get
Return _name
End Get
Set(ByVal value As String)
_name = value
End Set
End Property

Private _folderId As Integer
Property FolderId() As Integer
Get
Return _folderId
End Get
Set(ByVal value As Integer)
_folderId = value
End Set
End Property

Sub New(ByVal strName As String)
Name = strName
End Sub

End Class

End Namespace
When I create a form and type imports <Project name>. intellisense
does not display the namespace. If I simply enter the namespace
manually and attempt to create an object of the type the IDE reports
that type 'Building' is not defined.

Even if I don't create a namespace for a class, it is still not
detected in the form class.

One thing I notice out of the ordinary is that the icons by the
'invisible classes' appear as white paper sheets rather than the usual
class icon.

What the hell?

It seems most of the issues I run into with this crappy product are
linked to weird quirks in the damn product rather than programming
errors.

Please help!

FRUSTRATED

Oct 23 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.