|
-
Dec 27th, 2007, 01:43 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] [02/03] Form Not Defined
I have a very large, multi-project solution which I adopted. I've added a new form, which the other forms (from which I'm trying to call it) do not recognize it.
Type frmRowComments is not defined
I've check spelling and even copied/pasted the class name. I've rebuilt the project and still nothing. My intended goal is to open the form in the primary project, but at the moment even forms in the same project do not recognize it.
I understand it may be an issue regarding the dll (for this project) not updating, but my inexperience with .NET is standing in my way, I think.
How do I resolve this issue. MSDN's answer doesn't make sense to me.
Thank you!
Last edited by rjbudz; Dec 27th, 2007 at 02:02 PM.
-
Dec 27th, 2007, 02:00 PM
#2
Re: [02/03] Form Not Defined
check for namespaces.... see if there's a NAMESPACE XXXXX at the top of the other forms.... add it to yours (don't forget the designer file too!) if there is.
-tg
-
Dec 27th, 2007, 02:09 PM
#3
Thread Starter
Hyperactive Member
Re: [02/03] Form Not Defined
Thanks for such a fast response. Unfortunately, my inexperience goes further than I expected.
I added
Imports nsHMDS.nsCustomer.nsfrmRowCommentAdmin
To the top of the calling form (This is the name of my namespace)
Other forms with Imports I've tried with no success.
Namespace or type cannot be found
I don't understand about the designer. Sorry I need step by step instruction, but, well, I do.
A picture is worth ...

Last edited by rjbudz; Dec 27th, 2007 at 02:42 PM.
-
Dec 27th, 2007, 03:02 PM
#4
Thread Starter
Hyperactive Member
Re: [02/03] Form Not Defined
Amazingly enough, I figured it out. At least part of it. I let Intellisence locate the Namespace of my new form and it appears to accept everything. The trials and tribulations continue, but for the moment the app compliles.
I'll be back.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|