slink9
asked on
VS2005 SP1 Infragistics NetAdvantage VB.Net
I am using VS2005 SP1 with Infragistics NetAdvantage controls. I am working with an already existing program, forms, etc and am getting
Type 'Infragistics.Win.UltraWin Editors.Ul traDateTim eEditor' is not defined.
This is the only remaining error. I got rid of many errors when I installed the Infragistics development software. More errors were eradicated by installing SP1.
I put in a reference to the UltraWinEditors dll and then get the same number of errors (18) which tell me that I need to add more controls to my project.
How do I get rid of this?
Type 'Infragistics.Win.UltraWin
This is the only remaining error. I got rid of many errors when I installed the Infragistics development software. More errors were eradicated by installing SP1.
I put in a reference to the UltraWinEditors dll and then get the same number of errors (18) which tell me that I need to add more controls to my project.
How do I get rid of this?
ASKER
This exact same error happens 18 times. Here are two lines that are back-to-back.
Me.fromDate = New Infragistics.Win.UltraWinE ditors.Ult raDateTime Editor
Me.toDate = New Infragistics.Win.UltraWinE ditors.Ult raDateTime Editor
I can't load these forms in the designer, although all of the other forms appear fine. I get the error message
The designer cannot process the code at line 292: Me.dtDateEnteredLawEnforce ment.Locat ion = New System.Drawing.Point(506, 183) The code within the method 'InitializeComponent' is generated by the designer and should not be manually modified. Please remove any changes and try opening the designer again.
I have a feeling that these two are related. Taking care of the first should clear up the second.
Me.fromDate = New Infragistics.Win.UltraWinE
Me.toDate = New Infragistics.Win.UltraWinE
I can't load these forms in the designer, although all of the other forms appear fine. I get the error message
The designer cannot process the code at line 292: Me.dtDateEnteredLawEnforce
I have a feeling that these two are related. Taking care of the first should clear up the second.
Can you try commenting Me.dtDateEnteredLawEnforce ment.Locat ion = New System.Drawing.Point(506, 183) ??
ASKER
Sure, but then I lose the control that is on the form. I am working behind another programmer and trying to get an understanding of how this program is constructed. Commenting out the errors is not really an option.
The reason i asked you to comment is because you got this message
>> The code within the method 'InitializeComponent' is generated by the designer and should not be manually modified
You would not lose the control but just its location. Try going t the designer for that control and set the co-ordinates. my guess is tat someone has tampered with the autogenerated designer code
>> The code within the method 'InitializeComponent' is generated by the designer and should not be manually modified
You would not lose the control but just its location. Try going t the designer for that control and set the co-ordinates. my guess is tat someone has tampered with the autogenerated designer code
ASKER
Okay. Commenting out a few lines works and decreases the error count (by one) until I hit lines such as those below
Friend WithEvents fromDate As Infragistics.Win.UltraWinE ditors.Ult raDateTime Editor
Friend WithEvents toDate As Infragistics.Win.UltraWinE ditors.Ult raDateTime Editor
and then the error count jumps by 20 or more for each one of those commented out. I have a feeling that all-knowing MS thinks that it has been tampered with because it can't find the UltraDateTimeEditor control. If I try to view the designer and add the control I get the message that it has been tinkered with. I am baffled and it is looking like there is no help out there for this one.
Friend WithEvents fromDate As Infragistics.Win.UltraWinE
Friend WithEvents toDate As Infragistics.Win.UltraWinE
and then the error count jumps by 20 or more for each one of those commented out. I have a feeling that all-knowing MS thinks that it has been tampered with because it can't find the UltraDateTimeEditor control. If I try to view the designer and add the control I get the message that it has been tinkered with. I am baffled and it is looking like there is no help out there for this one.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Your suggestion, although not 100% dead-on, made me think about trying the previous version that I have. It came up with 30 warnings but ran beautifully. Closing this one out. Keep an eye out for more NET beginner questions!!!
>> Can you paste the entire compile time rror
>> Can you paste the line of code where the error occurs?