Results 1 to 4 of 4

Thread: [RESOLVED] [02/03] Form Not Defined

  1. #1

    Thread Starter
    Hyperactive Member rjbudz's Avatar
    Join Date
    Jul 2005
    Location
    San Diego
    Posts
    262

    Resolved [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.

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    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
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

    Thread Starter
    Hyperactive Member rjbudz's Avatar
    Join Date
    Jul 2005
    Location
    San Diego
    Posts
    262

    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.

  4. #4

    Thread Starter
    Hyperactive Member rjbudz's Avatar
    Join Date
    Jul 2005
    Location
    San Diego
    Posts
    262

    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
  •  



Click Here to Expand Forum to Full Width