A
Accutrol
Huh?
In VB.NET 2003 (.NET 1.1), I created an application that generated an
error after converting to .NET 2.0.
I created two forms, Set_Test_Volts and Test_Volts, in the same
namespace. .NET 1.1 had no complaints.
I converted my application to .NET 2.0. VB.NET 2005 complains:
Error 1 'Test_Volts' has the same name as another type exposed in a 'My'
group. Rename the form or its enclosing namespace.
C:\WindowsApplication1\Form3.Designer.vb 2 15 WindowsApplication1
You can do this, too. You'll get the same result.
If I rename Set_Test_Volts to Get_Test_Volts I get the same error.
But if I change Set to anything else, it reports no errors.
I would really like to not have to change the names of my forms (I use
..NET Reflection to access the form by name from a long list of test
sequences).
Is this a bug? What can I do to work around this issue without
renaming either of the forms?
Thanks for any help,
Hamilton Woods
In VB.NET 2003 (.NET 1.1), I created an application that generated an
error after converting to .NET 2.0.
I created two forms, Set_Test_Volts and Test_Volts, in the same
namespace. .NET 1.1 had no complaints.
I converted my application to .NET 2.0. VB.NET 2005 complains:
Error 1 'Test_Volts' has the same name as another type exposed in a 'My'
group. Rename the form or its enclosing namespace.
C:\WindowsApplication1\Form3.Designer.vb 2 15 WindowsApplication1
You can do this, too. You'll get the same result.
If I rename Set_Test_Volts to Get_Test_Volts I get the same error.
But if I change Set to anything else, it reports no errors.
I would really like to not have to change the names of my forms (I use
..NET Reflection to access the form by name from a long list of test
sequences).
Is this a bug? What can I do to work around this issue without
renaming either of the forms?
Thanks for any help,
Hamilton Woods