VB.NET ide problem -- Am I alone with this problem?

  • Thread starter Thread starter Marc Robitaille
  • Start date Start date
M

Marc Robitaille

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
 
Hello all,
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

It would help if you told us what errors you were getting.
--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.
 
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)
<-------E R R O R I S H E R E
Me.tbxInterchange = New PAIControlLibrary.TextBoxPai
Me.dcbTypePiece = New PAIControlLibrary.PAIDualCombo
<-------E R R O R I S H E R E
Me.lblNoSerie = New PAIControlLibrary.LabelPai(Me.components)
Me.tbxNoSeriePiece = New PAIControlLibrary.TextBoxPai
Me.tabPgPiece.SuspendLayout()

Chris Dunaway said:
Hello all,
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

It would help if you told us what errors you were getting.
--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.
 
It is like if the control isn't declare

Chris Dunaway said:
Hello all,
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

It would help if you told us what errors you were getting.
--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top