Hello all,
For a certain amount of time, I have a rather odd problem with my Visual
Studio 2003. I do not know where it is come from i.e. if it is my code or
the intellisense from the VB.NET ide. Here the problem. When i open an
existing project, I have no error. If I add a new method or property in my
class or if I change the scope of one of my method from public to private,
NET gives me an incredible list of errors. What I have noticed, the errors
are always in a form. Here an error example
Friend WithEvents tbxInterchange As PAIControlLibrary.TextBoxPai
Friend WithEvents dcbTypePiece As PAIControlLibrary.PAIDualCombo
Friend WithEvents lblNoSerie As PAIControlLibrary.LabelPai
Friend WithEvents tbxNoSeriePiece As PAIControlLibrary.TextBoxPai
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container
Dim resources As System.Resources.ResourceManager = New
System.Resources.ResourceManager(GetType (frmUTLAssignerPhotoPieceINV))
Me.lblInterchange = New PAIControlLibrary.LabelPai(Me.components)
Me.lblTypePiece = New PAIControlLibrary.LabelPai(Me.components)
<-------ERROR IS HERE
Me.tbxInterchange = New PAIControlLibrary.TextBoxPai
Me.dcbTypePiece = New PAIControlLibrary.PAIDualCombo
<-------ERROR IS HERE
Me.lblNoSerie = New PAIControlLibrary.LabelPai(Me.components)
Me.tbxNoSeriePiece = New PAIControlLibrary.TextBoxPai
Me.tabPgPiece.SuspendLayout()
The two components lblTypePiece and dcbTypePiece are in error. But like you
can see it, they are well declared. To correct my problem (temporarily), I
replace Private Sub InitializeComponent() for Public Sub
InitializeComponent(). Then, I change line. The errors disapeard as they
appeard. I change the scope back. Is there other like me who have this
problem? If yes, what did you do to resolve this?
Any help will be very appreciated
Thank you
Marc R.
to answer me, replace caa by ca