[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
Re: [RESOLVED]Conflicting form names
:wave: :bigyello:
I, too, had this problem and it was driving me nuts:eek:
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"
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!
Re: [RESOLVED]Conflicting form names
Thank you so much. Straightforward solution.
Re: [RESOLVED]Conflicting form names
Thanks axion_sa..It Solved my error.