S
StonehouseLogic
Guest
When I have a perfectly OK form that I created using Visual Studio form designer why does it always seem to go screwy on me for no apparent reason? For example, when I right-click in the code and select View Designer is comes up with a bunch of Designer errors.
I have one that says:
The variable 'ProductGroupsLookup' is either undeclared or was never assigned.
So I go to the code and the line says:
Me.GroupBoxPubType.Controls.Add(Me.ProductGroupsLookup)
So I go to the foot of the designer code and I find:
Friend With EventsProductGroupsLookup As Sage.MMS.Controls.ProductGroupsLookup
and in the initialisation section of the designer code I find:
Me.ProductGroupsLookup = New Sage.MMS.Controls.ProductGroupsLookup()
This is all generated by Visual Studio so why does it keep erroring?
Mike
Continue reading...
I have one that says:
The variable 'ProductGroupsLookup' is either undeclared or was never assigned.
So I go to the code and the line says:
Me.GroupBoxPubType.Controls.Add(Me.ProductGroupsLookup)
So I go to the foot of the designer code and I find:
Friend With EventsProductGroupsLookup As Sage.MMS.Controls.ProductGroupsLookup
and in the initialisation section of the designer code I find:
Me.ProductGroupsLookup = New Sage.MMS.Controls.ProductGroupsLookup()
This is all generated by Visual Studio so why does it keep erroring?
Mike
Continue reading...