[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

VS2005 SP1 Infragistics NetAdvantage VB.Net

Posted on 2007-10-04
8
Medium Priority
?
836 Views
Last Modified: 2013-12-20
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.UltraWinEditors.UltraDateTimeEditor' 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?
0
Comment
Question by:slink9
  • 4
  • 4
8 Comments
 
LVL 21

Expert Comment

by:surajguptha
ID: 20014486
>> Is this the only type of error you get? Are there any other errors that occur along with it
>> Can you paste the entire compile time rror
>> Can you paste the line of code where the error occurs?
0
 
LVL 23

Author Comment

by:slink9
ID: 20014533
This exact same error happens 18 times.  Here are two lines that are back-to-back.

Me.fromDate = New Infragistics.Win.UltraWinEditors.UltraDateTimeEditor
Me.toDate = New Infragistics.Win.UltraWinEditors.UltraDateTimeEditor

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.dtDateEnteredLawEnforcement.Location = 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.
0
 
LVL 21

Expert Comment

by:surajguptha
ID: 20014546
Can you try commenting Me.dtDateEnteredLawEnforcement.Location = New System.Drawing.Point(506, 183) ??
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 23

Author Comment

by:slink9
ID: 20014595
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.
0
 
LVL 21

Expert Comment

by:surajguptha
ID: 20014685
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
0
 
LVL 23

Author Comment

by:slink9
ID: 20014827
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.UltraWinEditors.UltraDateTimeEditor
    Friend WithEvents toDate As Infragistics.Win.UltraWinEditors.UltraDateTimeEditor

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.
0
 
LVL 21

Accepted Solution

by:
surajguptha earned 2000 total points
ID: 20014837
Start afresh, drag a DateTimeEditor from the toolbox and compile the sample project.
0
 
LVL 23

Author Comment

by:slink9
ID: 20014914
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!!!
0

Featured Post

Granular recovery for Microsoft Exchange

With Veeam Explorer for Microsoft Exchange you can choose the Exchange Servers and restore points you’re interested in, and Veeam Explorer will present the contents of those mailbox stores for browsing, searching and exporting.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month17 days, 21 hours left to enroll

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question