Results 1 to 7 of 7

Thread: [RESOLVED]Conflicting form names

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2002
    Posts
    63

    [RESOLVED]Conflicting form names

    Hi
    My VB project contains a form(dialog) called dlgID. Now everytime I open the project, it gives me an error saying "Conflicting names were found in dlgID. The name 'dlgID' will be used".
    I also noticed that the code which invokes dlgID, instead of
    dlgID.show
    it always remains
    dlgiD.show
    (Notice the case)
    Why is this happening and how do I resolve it?
    Thanks,
    Sarah
    Last edited by sarahmapg; Feb 26th, 2003 at 10:02 AM.

  2. #2
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724
    Open your form in notepad. There's two lines that store your form's name & they are:
    Begin VB.Form [form name]
    ....
    Attribute VB_Name = "[form name]"

    e.g.:

    Begin VB.Form dlgXYZ
    ....
    Attribute VB_Name = "dlgXYZ"

  3. #3

    Thread Starter
    Member
    Join Date
    Apr 2002
    Posts
    63
    Thanks, that did it!

  4. #4
    Member
    Join Date
    Mar 2007
    Posts
    57

    Re: [RESOLVED]Conflicting form names



    I, too, had this problem and it was driving me nuts

    THANK YOU, THANK YOU for your great help. Now my project loads without the "conflicting names" error.

    Quote Originally Posted by axion_sa
    Open your form in notepad. There's two lines that store your form's name & they are:
    Begin VB.Form [form name]
    ....
    Attribute VB_Name = "[form name]"

    e.g.:

    Begin VB.Form dlgXYZ
    ....
    Attribute VB_Name = "dlgXYZ"

  5. #5
    New Member
    Join Date
    Jun 2010
    Posts
    1

    Re: [RESOLVED]Conflicting form names

    WOW!
    THANK YOU! THANK YOU!
    I thought my boss would kill me because of this error.
    Then you saved my life!
    It really worked!
    THANK YOU! THANK YOU!

  6. #6
    New Member
    Join Date
    Jan 2013
    Posts
    2

    Re: [RESOLVED]Conflicting form names

    Thank you so much. Straightforward solution.

  7. #7
    Registered User
    Join Date
    May 2014
    Posts
    1

    Re: [RESOLVED]Conflicting form names

    Thanks axion_sa..It Solved my error.

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